Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Services / IO / System / IO / ErrorEventArgs.cs / 1305376 / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ChtmlTextWriter.cs
- EmbeddedMailObject.cs
- TranslateTransform3D.cs
- OrderedDictionaryStateHelper.cs
- ListArgumentProvider.cs
- GridViewRowEventArgs.cs
- EventNotify.cs
- XmlAggregates.cs
- IpcClientManager.cs
- MessageBox.cs
- PersonalizationProviderCollection.cs
- SiteMapDesignerDataSourceView.cs
- RuntimeIdentifierPropertyAttribute.cs
- IISUnsafeMethods.cs
- Nullable.cs
- ImageInfo.cs
- MarkupCompilePass2.cs
- ContentElement.cs
- HtmlUtf8RawTextWriter.cs
- CodeGeneratorOptions.cs
- NativeActivityFaultContext.cs
- WebPartMenu.cs
- XsltException.cs
- AuthenticatedStream.cs
- HealthMonitoringSection.cs
- WebServiceData.cs
- TabletDevice.cs
- SR.Designer.cs
- sqlnorm.cs
- XmlName.cs
- InvalidCommandTreeException.cs
- SoapHttpTransportImporter.cs
- BindToObject.cs
- SchemaAttDef.cs
- FontWeights.cs
- TraceLog.cs
- SafeNativeMethods.cs
- ListBox.cs
- DesignBindingConverter.cs
- RenderDataDrawingContext.cs
- TypeSemantics.cs
- DependencyPropertyChangedEventArgs.cs
- RangeContentEnumerator.cs
- TextAdaptor.cs
- BindingGroup.cs
- AccessDataSource.cs
- MemberAssignment.cs
- NativeActivityFaultContext.cs
- UInt64Storage.cs
- NullableDecimalSumAggregationOperator.cs
- SafeMILHandle.cs
- XmlSerializationWriter.cs
- MenuItemStyleCollection.cs
- TextElementAutomationPeer.cs
- Encoder.cs
- RequestResponse.cs
- RecordsAffectedEventArgs.cs
- Stacktrace.cs
- GetLedgerEntryForRecipientRequest.cs
- Char.cs
- WhitespaceRuleReader.cs
- ComponentCodeDomSerializer.cs
- TreeView.cs
- DependencyObjectType.cs
- FontStretches.cs
- GuidTagList.cs
- DataControlButton.cs
- MeshGeometry3D.cs
- ContextMenu.cs
- counter.cs
- InnerItemCollectionView.cs
- DataGridViewRowCancelEventArgs.cs
- SessionParameter.cs
- DataGridColumnEventArgs.cs
- dtdvalidator.cs
- NonVisualControlAttribute.cs
- AttributeProviderAttribute.cs
- PagesSection.cs
- ValueExpressions.cs
- Menu.cs
- TimeSpanValidator.cs
- UnaryQueryOperator.cs
- XNodeValidator.cs
- ProcessModelSection.cs
- RSAPKCS1SignatureFormatter.cs
- Vector.cs
- UnmanagedBitmapWrapper.cs
- AxHost.cs
- DbProviderFactories.cs
- TypedTableHandler.cs
- IISUnsafeMethods.cs
- RawUIStateInputReport.cs
- EventSourceCreationData.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- BamlMapTable.cs
- LogAppendAsyncResult.cs
- XPathPatternParser.cs
- DefaultDiscoveryServiceExtension.cs
- OledbConnectionStringbuilder.cs
- Zone.cs