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
- AnimationLayer.cs
- TextRunCache.cs
- cache.cs
- HtmlElementErrorEventArgs.cs
- AssemblySettingAttributes.cs
- TaskForm.cs
- UndoEngine.cs
- TemplatePartAttribute.cs
- CollectionViewProxy.cs
- CheckedPointers.cs
- LinkTarget.cs
- WindowsListViewScroll.cs
- SelectionEditingBehavior.cs
- SemanticBasicElement.cs
- DataGridColumnFloatingHeader.cs
- BehaviorEditorPart.cs
- SingleSelectRootGridEntry.cs
- DataKey.cs
- HostingMessageProperty.cs
- HMACSHA512.cs
- BrowserCapabilitiesCompiler.cs
- PointConverter.cs
- RegisteredArrayDeclaration.cs
- RadioButtonPopupAdapter.cs
- XhtmlBasicTextBoxAdapter.cs
- Validator.cs
- SimpleWebHandlerParser.cs
- ToolStripRenderEventArgs.cs
- SemanticResultValue.cs
- ConnectionStringsExpressionBuilder.cs
- RegexCapture.cs
- UnsafeCollabNativeMethods.cs
- Rect.cs
- PageCodeDomTreeGenerator.cs
- SQLGuidStorage.cs
- CommandField.cs
- NativeMethods.cs
- MatrixStack.cs
- ValidationEventArgs.cs
- BrowserInteropHelper.cs
- StatementContext.cs
- ECDiffieHellmanCngPublicKey.cs
- XPathNodeHelper.cs
- ForEachAction.cs
- CloseSequenceResponse.cs
- DataBindingHandlerAttribute.cs
- SessionIDManager.cs
- TimeoutStream.cs
- RequestCacheValidator.cs
- SamlSubjectStatement.cs
- RotationValidation.cs
- ColorBlend.cs
- CharacterBufferReference.cs
- WsdlBuildProvider.cs
- CroppedBitmap.cs
- Events.cs
- WebPartDisplayModeCollection.cs
- LinqToSqlWrapper.cs
- MexHttpBindingCollectionElement.cs
- FormatControl.cs
- InstancePersistenceCommand.cs
- ExpressionConverter.cs
- RecipientInfo.cs
- WinEventWrap.cs
- DataGridViewElement.cs
- LayoutTableCell.cs
- RTLAwareMessageBox.cs
- Mappings.cs
- DnsPermission.cs
- WorkflowShape.cs
- HiddenFieldPageStatePersister.cs
- PartialToken.cs
- WebPartTransformer.cs
- XpsS0ValidatingLoader.cs
- DataGridColumnStyleMappingNameEditor.cs
- DSASignatureFormatter.cs
- ArgumentNullException.cs
- SamlConditions.cs
- SqlDataSourceRefreshSchemaForm.cs
- DiscriminatorMap.cs
- FacetChecker.cs
- DocumentSchemaValidator.cs
- DependencyObjectProvider.cs
- milexports.cs
- AssemblyBuilderData.cs
- PropertyFilterAttribute.cs
- ExternalException.cs
- EntityDataSourceWrapperCollection.cs
- MetadataArtifactLoaderCompositeFile.cs
- PartialList.cs
- SessionStateSection.cs
- HtmlCommandAdapter.cs
- InvokePattern.cs
- CurrentChangedEventManager.cs
- TableStyle.cs
- ToolStripButton.cs
- AsymmetricAlgorithm.cs
- ClientSettings.cs
- PeerSecurityManager.cs
- TypeBuilder.cs