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
- EnvelopedPkcs7.cs
- DataGridTableStyleMappingNameEditor.cs
- GlyphTypeface.cs
- StrokeCollection2.cs
- ChoiceConverter.cs
- ExtenderHelpers.cs
- MsmqBindingFilter.cs
- SmtpLoginAuthenticationModule.cs
- Debug.cs
- DummyDataSource.cs
- PipelineModuleStepContainer.cs
- FontWeightConverter.cs
- DataGridToolTip.cs
- UrlEncodedParameterWriter.cs
- Column.cs
- _UriTypeConverter.cs
- Journal.cs
- Panel.cs
- GetReadStreamResult.cs
- FormsAuthenticationUserCollection.cs
- FixedSOMTableCell.cs
- Stack.cs
- DataDocumentXPathNavigator.cs
- ServiceCredentialsElement.cs
- WebServiceEnumData.cs
- ContextQuery.cs
- RbTree.cs
- HierarchicalDataSourceConverter.cs
- RsaKeyIdentifierClause.cs
- TraceSwitch.cs
- CompositeDataBoundControl.cs
- FlatButtonAppearance.cs
- MediaCommands.cs
- COM2ICategorizePropertiesHandler.cs
- BeginSelectCardRequest.cs
- Point.cs
- BindingExpressionUncommonField.cs
- PtsPage.cs
- ExeConfigurationFileMap.cs
- RoleGroupCollection.cs
- ConfigXmlWhitespace.cs
- SnapLine.cs
- XmlUtf8RawTextWriter.cs
- EmptyStringExpandableObjectConverter.cs
- EventsTab.cs
- SchemaTableOptionalColumn.cs
- SchemaNotation.cs
- LineServices.cs
- WebRequestModuleElementCollection.cs
- RecognizedAudio.cs
- WorkflowInstance.cs
- XmlSchemaImport.cs
- ModifierKeysValueSerializer.cs
- TargetPerspective.cs
- RSAPKCS1KeyExchangeFormatter.cs
- WebBrowserNavigatedEventHandler.cs
- TraceInternal.cs
- WebPartEditorApplyVerb.cs
- HostingEnvironmentSection.cs
- Maps.cs
- CustomSignedXml.cs
- ActivityDesigner.cs
- Msec.cs
- SqlTrackingQuery.cs
- ErrorReporting.cs
- HelpProvider.cs
- hresults.cs
- DetailsViewInsertEventArgs.cs
- _PooledStream.cs
- IdentityValidationException.cs
- XmlCharCheckingReader.cs
- XPathNavigatorReader.cs
- QueryStringParameter.cs
- TypeSystem.cs
- ServiceNameElement.cs
- XPathSelectionIterator.cs
- LicenseContext.cs
- StringReader.cs
- SocketElement.cs
- TraceData.cs
- ThreadExceptionDialog.cs
- FileDialogCustomPlace.cs
- HtmlTextArea.cs
- SpotLight.cs
- TranslateTransform3D.cs
- COAUTHINFO.cs
- HoistedLocals.cs
- ClickablePoint.cs
- CodeCastExpression.cs
- IsolatedStoragePermission.cs
- ComplexPropertyEntry.cs
- OperationFormatStyle.cs
- TreeNodeBinding.cs
- WebEventTraceProvider.cs
- GradientStop.cs
- NavigationEventArgs.cs
- CutCopyPasteHelper.cs
- Rule.cs
- HtmlLabelAdapter.cs
- WebPartDisplayModeEventArgs.cs