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
- DataRelationPropertyDescriptor.cs
- EntityDataSourceDesigner.cs
- ICspAsymmetricAlgorithm.cs
- X509AsymmetricSecurityKey.cs
- __Filters.cs
- DeviceContexts.cs
- RtfNavigator.cs
- MostlySingletonList.cs
- ZoomPercentageConverter.cs
- InternalsVisibleToAttribute.cs
- Timeline.cs
- EpmSyndicationContentSerializer.cs
- NotificationContext.cs
- ArgumentFixer.cs
- SqlMultiplexer.cs
- ListChunk.cs
- LinqDataView.cs
- ApplicationSecurityInfo.cs
- HierarchicalDataSourceControl.cs
- DeadCharTextComposition.cs
- PocoEntityKeyStrategy.cs
- HttpModule.cs
- CryptoConfig.cs
- BitmapCodecInfo.cs
- TagPrefixCollection.cs
- DelimitedListTraceListener.cs
- PeerCollaboration.cs
- WebBrowserSiteBase.cs
- VisualTreeHelper.cs
- SafeReversePInvokeHandle.cs
- ResourcePermissionBase.cs
- Opcode.cs
- RightsManagementInformation.cs
- HttpBrowserCapabilitiesWrapper.cs
- AssertSection.cs
- WebPartCatalogCloseVerb.cs
- HeaderedItemsControl.cs
- BigInt.cs
- IPipelineRuntime.cs
- MappingMetadataHelper.cs
- ListBoxItemAutomationPeer.cs
- TranslateTransform.cs
- AnnotationComponentChooser.cs
- ConfigXmlComment.cs
- EdmSchemaAttribute.cs
- DESCryptoServiceProvider.cs
- NativeMethods.cs
- SoapHeaders.cs
- PipeStream.cs
- _TimerThread.cs
- FullTextState.cs
- PropertyTab.cs
- TextRange.cs
- GridViewColumnHeader.cs
- BamlReader.cs
- X509CertificateValidator.cs
- CodeStatementCollection.cs
- SmiEventSink_Default.cs
- XmlSortKey.cs
- XmlCharType.cs
- Drawing.cs
- SequentialUshortCollection.cs
- LogExtentCollection.cs
- FixedTextView.cs
- HotCommands.cs
- Button.cs
- KeyValueConfigurationElement.cs
- TextElementEnumerator.cs
- ApplicationServiceManager.cs
- Rectangle.cs
- MergeFailedEvent.cs
- IntSecurity.cs
- ComponentChangingEvent.cs
- ExtensionFile.cs
- XAMLParseException.cs
- BasicExpandProvider.cs
- ProcessHost.cs
- ToolStripLabel.cs
- NameValueConfigurationElement.cs
- Separator.cs
- ArrayWithOffset.cs
- _LocalDataStoreMgr.cs
- DataSpaceManager.cs
- CompressStream.cs
- ResponseStream.cs
- DropShadowBitmapEffect.cs
- ManifestResourceInfo.cs
- PasswordDeriveBytes.cs
- _emptywebproxy.cs
- PropertyContainer.cs
- CorrelationQueryBehavior.cs
- Rfc4050KeyFormatter.cs
- SQLDecimal.cs
- GetBrowserTokenRequest.cs
- DatatypeImplementation.cs
- ObjectListCommandCollection.cs
- XmlIncludeAttribute.cs
- QuotedPairReader.cs
- TreeNodeBindingCollection.cs
- ToolStripArrowRenderEventArgs.cs