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
- SettingsAttributeDictionary.cs
- BitmapSizeOptions.cs
- hwndwrapper.cs
- ServiceOperationInvoker.cs
- XamlVector3DCollectionSerializer.cs
- MenuItem.cs
- StateItem.cs
- DataContractAttribute.cs
- AnnotationResourceCollection.cs
- DataError.cs
- SecurityRuntime.cs
- CoreSwitches.cs
- InvokePattern.cs
- SoapCodeExporter.cs
- FontFamilyConverter.cs
- HtmlInputImage.cs
- XmlDataSource.cs
- XmlTextWriter.cs
- QilParameter.cs
- ToolStripOverflow.cs
- PropertyGeneratedEventArgs.cs
- DirectoryNotFoundException.cs
- ButtonBase.cs
- CodeObject.cs
- invalidudtexception.cs
- RowSpanVector.cs
- RichTextBox.cs
- AdornedElementPlaceholder.cs
- BmpBitmapDecoder.cs
- SafeRightsManagementPubHandle.cs
- BevelBitmapEffect.cs
- ComEventsSink.cs
- Point3DCollectionValueSerializer.cs
- Form.cs
- SimpleApplicationHost.cs
- WindowsFormsDesignerOptionService.cs
- CurrencyWrapper.cs
- DocComment.cs
- MemoryMappedFile.cs
- Documentation.cs
- TreeWalker.cs
- RuntimeConfig.cs
- WpfWebRequestHelper.cs
- ImpersonationContext.cs
- Marshal.cs
- ColumnResizeAdorner.cs
- ComplexLine.cs
- ImageListStreamer.cs
- Math.cs
- InfocardExtendedInformationCollection.cs
- AspNetHostingPermission.cs
- CornerRadiusConverter.cs
- TaskScheduler.cs
- ResourceExpression.cs
- IPCCacheManager.cs
- InternalBufferManager.cs
- WindowCollection.cs
- SerialErrors.cs
- BamlBinaryWriter.cs
- SqlInfoMessageEvent.cs
- XmlSchemaParticle.cs
- DesignerCalendarAdapter.cs
- ReadingWritingEntityEventArgs.cs
- DeviceContext.cs
- SafeLibraryHandle.cs
- LoginUtil.cs
- NamedPipeAppDomainProtocolHandler.cs
- OleDbConnectionFactory.cs
- HtmlProps.cs
- NetworkInterface.cs
- MessageBox.cs
- Accessors.cs
- DesignerProperties.cs
- SetState.cs
- UnsafePeerToPeerMethods.cs
- Odbc32.cs
- X509SecurityToken.cs
- NumberFormatInfo.cs
- TemplateXamlParser.cs
- DynamicQueryableWrapper.cs
- Internal.cs
- ParameterCollection.cs
- TextCompositionManager.cs
- SecurityRuntime.cs
- TemplateKeyConverter.cs
- DataGridItemEventArgs.cs
- BCryptSafeHandles.cs
- RemotingException.cs
- Message.cs
- LogLogRecordHeader.cs
- PartitionedStreamMerger.cs
- HttpResponse.cs
- FixedTextPointer.cs
- validation.cs
- PermissionListSet.cs
- ObjRef.cs
- ObjectHandle.cs
- CellRelation.cs
- Token.cs