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
- SelectedDatesCollection.cs
- ExpressionBinding.cs
- DataBoundControlAdapter.cs
- ErrorTableItemStyle.cs
- HttpCachePolicyBase.cs
- DoubleAnimationUsingKeyFrames.cs
- StickyNoteAnnotations.cs
- DataGridTextBoxColumn.cs
- PackagingUtilities.cs
- indexingfiltermarshaler.cs
- PasswordBoxAutomationPeer.cs
- BorderGapMaskConverter.cs
- StateMachineSubscription.cs
- WebPartRestoreVerb.cs
- relpropertyhelper.cs
- ConfigurationException.cs
- HeaderedContentControl.cs
- SQLInt64.cs
- ProcessThread.cs
- ContextMenuService.cs
- cookieexception.cs
- XmlSchemaValidationException.cs
- RelatedCurrencyManager.cs
- ConsumerConnectionPoint.cs
- IntSumAggregationOperator.cs
- CachedFontFamily.cs
- InstanceNotReadyException.cs
- ServiceOperation.cs
- MediaSystem.cs
- InputLanguageSource.cs
- Block.cs
- InvalidEnumArgumentException.cs
- NativeObjectSecurity.cs
- TypeConverter.cs
- LinqDataSourceStatusEventArgs.cs
- TransactionScope.cs
- TextElementAutomationPeer.cs
- UniformGrid.cs
- CodeDomLocalizationProvider.cs
- RuntimeConfigLKG.cs
- HistoryEventArgs.cs
- WebPartZone.cs
- DefaultTraceListener.cs
- DynamicArgumentDesigner.xaml.cs
- PointLight.cs
- AssemblyCache.cs
- PerformanceCounterManager.cs
- GetPageNumberCompletedEventArgs.cs
- Storyboard.cs
- SearchForVirtualItemEventArgs.cs
- HandlerFactoryCache.cs
- DecoderReplacementFallback.cs
- BoolExpr.cs
- SelectedGridItemChangedEvent.cs
- Component.cs
- RotateTransform.cs
- QueueProcessor.cs
- LicenseManager.cs
- GroupBoxDesigner.cs
- ConfigXmlWhitespace.cs
- BinHexEncoder.cs
- ButtonRenderer.cs
- ClientSponsor.cs
- VisualBasicImportReference.cs
- SafeFindHandle.cs
- LiteralText.cs
- SizeConverter.cs
- hebrewshape.cs
- MessageQueueKey.cs
- NameValueConfigurationCollection.cs
- ExtractorMetadata.cs
- CryptoStream.cs
- WebDisplayNameAttribute.cs
- BamlBinaryReader.cs
- PtsContext.cs
- RefExpr.cs
- SizeAnimationClockResource.cs
- BoolExpression.cs
- ExecutionContext.cs
- ToolStripPanelCell.cs
- CodeGenHelper.cs
- TextOnlyOutput.cs
- XPathNodeIterator.cs
- SHA512Managed.cs
- PixelShader.cs
- GridViewRowPresenterBase.cs
- WebPartConnectVerb.cs
- DataGridDefaultColumnWidthTypeConverter.cs
- XmlSchemaDocumentation.cs
- ContainsRowNumberChecker.cs
- AuthenticateEventArgs.cs
- DataShape.cs
- MissingManifestResourceException.cs
- ColorKeyFrameCollection.cs
- ButtonPopupAdapter.cs
- RtfControlWordInfo.cs
- RuntimeEnvironment.cs
- GridViewEditEventArgs.cs
- StorageRoot.cs
- ExternalFile.cs