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
- PropertyPushdownHelper.cs
- XXXInfos.cs
- SqlEnums.cs
- WindowsListViewSubItem.cs
- SignerInfo.cs
- FontWeights.cs
- URLIdentityPermission.cs
- DataBinding.cs
- SpotLight.cs
- FontResourceCache.cs
- TerminatorSinks.cs
- QilExpression.cs
- InvalidOleVariantTypeException.cs
- InvalidProgramException.cs
- WasAdminWrapper.cs
- BamlLocalizationDictionary.cs
- SQLCharsStorage.cs
- DockProviderWrapper.cs
- Soap.cs
- Control.cs
- Misc.cs
- SwitchLevelAttribute.cs
- EventProxy.cs
- MembershipUser.cs
- MailAddress.cs
- PhonemeConverter.cs
- IItemProperties.cs
- DefaultPrintController.cs
- HttpProfileGroupBase.cs
- FragmentNavigationEventArgs.cs
- PtsContext.cs
- EventWaitHandle.cs
- BaseParaClient.cs
- MimeObjectFactory.cs
- UrlPath.cs
- KeyboardNavigation.cs
- JsonDeserializer.cs
- TemplateControlBuildProvider.cs
- ServiceChannelManager.cs
- DistributedTransactionPermission.cs
- WorkflowDispatchContext.cs
- SmtpMail.cs
- TextEmbeddedObject.cs
- Barrier.cs
- SubclassTypeValidator.cs
- HttpModuleCollection.cs
- Window.cs
- DataGridParentRows.cs
- QuaternionAnimation.cs
- ContentControl.cs
- RenderData.cs
- BatchStream.cs
- InvalidWMPVersionException.cs
- WarningException.cs
- InstanceDataCollectionCollection.cs
- OutputCacheEntry.cs
- ContextMenuService.cs
- control.ime.cs
- ShortcutKeysEditor.cs
- ExcCanonicalXml.cs
- XmlWhitespace.cs
- AssociationTypeEmitter.cs
- ServiceDocument.cs
- WizardDesigner.cs
- ChangeBlockUndoRecord.cs
- MenuItemBindingCollection.cs
- remotingproxy.cs
- Propagator.JoinPropagator.cs
- COM2Enum.cs
- ValueUnavailableException.cs
- MruCache.cs
- ActivationArguments.cs
- Operand.cs
- EventWaitHandleSecurity.cs
- DataObjectPastingEventArgs.cs
- versioninfo.cs
- SimpleNameService.cs
- Convert.cs
- FixedPageProcessor.cs
- GeneralTransform3DTo2DTo3D.cs
- FixedElement.cs
- DockingAttribute.cs
- WaitForChangedResult.cs
- DeadCharTextComposition.cs
- BaseAddressElement.cs
- ClientTarget.cs
- BufferedGraphics.cs
- LineGeometry.cs
- ZipPackagePart.cs
- Collection.cs
- MetadataItem_Static.cs
- SelectorAutomationPeer.cs
- UnsafeNativeMethods.cs
- OdbcCommandBuilder.cs
- HttpResponse.cs
- SafePointer.cs
- WebPartCatalogCloseVerb.cs
- Parser.cs
- wgx_render.cs
- SelectQueryOperator.cs