Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / Services / IO / System / IO / ErrorEventArgs.cs / 1 / ErrorEventArgs.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.IO {
using System.Diagnostics;
using System;
using System.ComponentModel;
///
/// Provides
/// data for the event.
///
public class ErrorEventArgs : EventArgs {
private Exception exception;
///
///
/// Initializes a new instance of the class.
///
///
public ErrorEventArgs(Exception exception) {
this.exception = exception;
}
///
///
/// Gets the that represents the error that occurred.
///
///
public virtual Exception GetException() {
return this.exception;
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.IO {
using System.Diagnostics;
using System;
using System.ComponentModel;
///
/// Provides
/// data for the event.
///
public class ErrorEventArgs : EventArgs {
private Exception exception;
///
///
/// Initializes a new instance of the class.
///
///
public ErrorEventArgs(Exception exception) {
this.exception = exception;
}
///
///
/// Gets the that represents the error that occurred.
///
///
public virtual Exception GetException() {
return this.exception;
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DesignerDataSourceView.cs
- NativeMethods.cs
- ModelUIElement3D.cs
- _SslSessionsCache.cs
- WebBrowserSiteBase.cs
- ProvidersHelper.cs
- IisTraceListener.cs
- CodePageUtils.cs
- XmlUtil.cs
- SqlClientMetaDataCollectionNames.cs
- FigureParaClient.cs
- HttpConfigurationSystem.cs
- OptionalMessageQuery.cs
- ShaperBuffers.cs
- MailHeaderInfo.cs
- ObjectDataSourceSelectingEventArgs.cs
- XmlDataFileEditor.cs
- XPathAncestorQuery.cs
- InstanceDescriptor.cs
- TypeInfo.cs
- ParameterCollectionEditor.cs
- InvalidWorkflowException.cs
- FaultPropagationRecord.cs
- TreeNodeMouseHoverEvent.cs
- XmlUnspecifiedAttribute.cs
- GlyphRunDrawing.cs
- InteropAutomationProvider.cs
- JavaScriptObjectDeserializer.cs
- UrlMappingsModule.cs
- hresults.cs
- TypefaceMetricsCache.cs
- Expression.cs
- TextDecorationCollection.cs
- DesignerSerializerAttribute.cs
- GC.cs
- SpeakInfo.cs
- Pen.cs
- ConfigXmlReader.cs
- ServicePoint.cs
- IdentityHolder.cs
- BinaryMethodMessage.cs
- HandlerFactoryWrapper.cs
- Encoding.cs
- SchemeSettingElement.cs
- DebugView.cs
- ObjectItemLoadingSessionData.cs
- EventSourceCreationData.cs
- DigestComparer.cs
- DataControlFieldCell.cs
- ReflectionUtil.cs
- MonitoringDescriptionAttribute.cs
- WebPartTransformerAttribute.cs
- DbCommandDefinition.cs
- InternalDuplexChannelFactory.cs
- DebugView.cs
- InvokeMethod.cs
- RadioButton.cs
- SendActivityDesigner.cs
- TdsParserSessionPool.cs
- storepermissionattribute.cs
- ToolBarTray.cs
- BitmapEffectState.cs
- DataContractJsonSerializer.cs
- TextEmbeddedObject.cs
- CodeDOMProvider.cs
- MTConfigUtil.cs
- ListDictionary.cs
- OrderPreservingPipeliningMergeHelper.cs
- _KerberosClient.cs
- PickBranch.cs
- StorageBasedPackageProperties.cs
- FreezableDefaultValueFactory.cs
- Tuple.cs
- PeerName.cs
- SqlNodeTypeOperators.cs
- TextServicesProperty.cs
- NavigationPropertyEmitter.cs
- AttributeEmitter.cs
- FilterEventArgs.cs
- NameTable.cs
- ActivityScheduledRecord.cs
- PointAnimationUsingPath.cs
- SHA512Managed.cs
- FilterableAttribute.cs
- TextElement.cs
- CodeChecksumPragma.cs
- MainMenu.cs
- DocumentPaginator.cs
- DirectoryNotFoundException.cs
- ToolStripTextBox.cs
- XmlSignificantWhitespace.cs
- DbInsertCommandTree.cs
- DocumentReferenceCollection.cs
- PtsContext.cs
- MetaColumn.cs
- SystemColors.cs
- GatewayDefinition.cs
- ProtocolElement.cs
- CacheChildrenQuery.cs
- TranslateTransform.cs