Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / wpf / src / WinFormsIntegration / System / Windows / Integration / IntegrationExceptionEventArgs.cs / 1 / IntegrationExceptionEventArgs.cs
using System.Diagnostics.CodeAnalysis; using System.Globalization; namespace System.Windows.Forms.Integration { ////// Lets the user preview an exception before the exception is thrown. /// public class IntegrationExceptionEventArgs : EventArgs { ////// Initializes a new instance of the IntegrationExceptionEventArgs class. /// public IntegrationExceptionEventArgs(bool throwException, Exception exception) { if (exception == null) { throw new ArgumentNullException(string.Format(CultureInfo.CurrentCulture, SR.Get(SRID.WFI_NullArgument), "exception")); } _throwException = throwException; _exception = exception; } private bool _throwException; private Exception _exception; ////// Determines whether the exception will be thrown. /// public bool ThrowException { get { return _throwException; } set { _throwException = value; } } ////// Identifies the exception that occurred. /// public Exception Exception { get { return _exception; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. using System.Diagnostics.CodeAnalysis; using System.Globalization; namespace System.Windows.Forms.Integration { ////// Lets the user preview an exception before the exception is thrown. /// public class IntegrationExceptionEventArgs : EventArgs { ////// Initializes a new instance of the IntegrationExceptionEventArgs class. /// public IntegrationExceptionEventArgs(bool throwException, Exception exception) { if (exception == null) { throw new ArgumentNullException(string.Format(CultureInfo.CurrentCulture, SR.Get(SRID.WFI_NullArgument), "exception")); } _throwException = throwException; _exception = exception; } private bool _throwException; private Exception _exception; ////// Determines whether the exception will be thrown. /// public bool ThrowException { get { return _throwException; } set { _throwException = value; } } ////// Identifies the exception that occurred. /// public Exception Exception { get { return _exception; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TextDecorations.cs
- TranslateTransform.cs
- ProvidePropertyAttribute.cs
- Point3DAnimationBase.cs
- DbProviderServices.cs
- XmlResolver.cs
- RuleRefElement.cs
- DataGridViewColumnConverter.cs
- TypefaceCollection.cs
- ValueChangedEventManager.cs
- WindowShowOrOpenTracker.cs
- ExpandoClass.cs
- JulianCalendar.cs
- Frame.cs
- ClientScriptManager.cs
- ScalarOps.cs
- SkinBuilder.cs
- BrowserDefinition.cs
- StrongName.cs
- MobileErrorInfo.cs
- Debug.cs
- linebase.cs
- FlowLayoutSettings.cs
- NullableBoolConverter.cs
- COM2TypeInfoProcessor.cs
- ValidatorCompatibilityHelper.cs
- UpWmlMobileTextWriter.cs
- XamlSerializerUtil.cs
- ProgressBarHighlightConverter.cs
- GeneralTransform.cs
- TemplateBindingExpression.cs
- TitleStyle.cs
- DocumentXmlWriter.cs
- KeyManager.cs
- SequentialOutput.cs
- CalloutQueueItem.cs
- CryptoProvider.cs
- LineBreak.cs
- ResizeGrip.cs
- StoreContentChangedEventArgs.cs
- webproxy.cs
- ProcessRequestArgs.cs
- IdnMapping.cs
- RTLAwareMessageBox.cs
- SerialReceived.cs
- CodeDelegateInvokeExpression.cs
- XmlWrappingReader.cs
- SetIterators.cs
- SimpleWorkerRequest.cs
- FtpCachePolicyElement.cs
- ThrowHelper.cs
- MultidimensionalArrayItemReference.cs
- StoryFragments.cs
- UInt16.cs
- SimpleBitVector32.cs
- SoapException.cs
- TaiwanCalendar.cs
- QueryFunctions.cs
- DataControlPagerLinkButton.cs
- ToolboxCategoryItems.cs
- Helpers.cs
- ColumnHeader.cs
- NameValueCollection.cs
- UnsafeNativeMethods.cs
- BaseValidator.cs
- PartialTrustVisibleAssembliesSection.cs
- TabletDevice.cs
- AdRotator.cs
- ArrayWithOffset.cs
- SpellerHighlightLayer.cs
- ObjectPersistData.cs
- BindingExpressionBase.cs
- RangeValidator.cs
- Console.cs
- StyleXamlParser.cs
- DrawListViewItemEventArgs.cs
- ToolStripSystemRenderer.cs
- SecurityException.cs
- wmiutil.cs
- EmptyEnumerator.cs
- VirtualDirectoryMappingCollection.cs
- TabControl.cs
- RuleSetCollection.cs
- assemblycache.cs
- FontUnit.cs
- QuaternionAnimation.cs
- ClickablePoint.cs
- SystemNetworkInterface.cs
- UnsafeNativeMethods.cs
- ToolStripRenderEventArgs.cs
- GraphicsContext.cs
- WebPartCatalogAddVerb.cs
- PagePropertiesChangingEventArgs.cs
- CommandEventArgs.cs
- AppDomainManager.cs
- RootBrowserWindowAutomationPeer.cs
- ComplexPropertyEntry.cs
- MostlySingletonList.cs
- XmlDocumentType.cs
- DrawingAttributes.cs