Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- EntityStoreSchemaFilterEntry.cs
- Itemizer.cs
- LicenseContext.cs
- PathTooLongException.cs
- _SpnDictionary.cs
- OrderedDictionaryStateHelper.cs
- DbConnectionPoolGroup.cs
- _emptywebproxy.cs
- HtmlTitle.cs
- XamlPoint3DCollectionSerializer.cs
- XmlDictionaryWriter.cs
- TableRow.cs
- WeakHashtable.cs
- XmlDeclaration.cs
- FtpRequestCacheValidator.cs
- MembershipSection.cs
- OSFeature.cs
- HttpRuntime.cs
- Model3DGroup.cs
- RuntimeVariableList.cs
- SolidBrush.cs
- NumberEdit.cs
- DataGridDefaultColumnWidthTypeConverter.cs
- ExpressionConverter.cs
- HtmlElementErrorEventArgs.cs
- WorkflowClientDeliverMessageWrapper.cs
- StdRegProviderWrapper.cs
- GenericRootAutomationPeer.cs
- ConnectionsZoneAutoFormat.cs
- SQLSingleStorage.cs
- Stylus.cs
- formatter.cs
- CompilerCollection.cs
- CodeCommentStatement.cs
- SR.cs
- OracleParameterCollection.cs
- ConfigXmlComment.cs
- XmlUtf8RawTextWriter.cs
- SchemaSetCompiler.cs
- WsdlInspector.cs
- ExtensibleClassFactory.cs
- InternalCache.cs
- BufferedGraphicsContext.cs
- BitmapFrameEncode.cs
- DesignOnlyAttribute.cs
- Encoder.cs
- PermissionAttributes.cs
- ModelFunction.cs
- IndexingContentUnit.cs
- XmlSchemaAny.cs
- Fx.cs
- ExpanderAutomationPeer.cs
- PageAsyncTask.cs
- CheckBox.cs
- DataControlField.cs
- XmlSerializationGeneratedCode.cs
- MouseButtonEventArgs.cs
- IndexerNameAttribute.cs
- AutoSizeToolBoxItem.cs
- RemotingServices.cs
- WmlValidatorAdapter.cs
- DiagnosticsElement.cs
- UIAgentAsyncParams.cs
- EmissiveMaterial.cs
- DataGridViewControlCollection.cs
- PropertyEmitterBase.cs
- BinarySecretKeyIdentifierClause.cs
- ResourceDescriptionAttribute.cs
- StoryFragments.cs
- ZipIOCentralDirectoryBlock.cs
- odbcmetadatacollectionnames.cs
- WebSysDisplayNameAttribute.cs
- SoapSchemaImporter.cs
- MessageContractExporter.cs
- ServiceModelExtensionCollectionElement.cs
- Models.cs
- WsrmMessageInfo.cs
- ISO2022Encoding.cs
- PeerObject.cs
- StreamedWorkflowDefinitionContext.cs
- XmlAttributeAttribute.cs
- StrongTypingException.cs
- DocobjHost.cs
- RuntimeConfigLKG.cs
- CalculatedColumn.cs
- ManipulationBoundaryFeedbackEventArgs.cs
- TypeConstant.cs
- dataprotectionpermission.cs
- TimeEnumHelper.cs
- ProfilePropertyNameValidator.cs
- DataGridViewTopLeftHeaderCell.cs
- RightsManagementEncryptionTransform.cs
- OracleFactory.cs
- StorageEndPropertyMapping.cs
- ArrayEditor.cs
- DecoderExceptionFallback.cs
- PartialList.cs
- CodeIdentifier.cs
- EntitySqlQueryState.cs
- HtmlAnchor.cs