Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- StrongNameMembershipCondition.cs
- WebZone.cs
- CacheForPrimitiveTypes.cs
- ColorConverter.cs
- RawStylusActions.cs
- CqlIdentifiers.cs
- PropertyMapper.cs
- UpdateRecord.cs
- ViewValidator.cs
- DataRecordObjectView.cs
- SlotInfo.cs
- recordstatefactory.cs
- NonVisualControlAttribute.cs
- XMLSyntaxException.cs
- Window.cs
- BackEase.cs
- CryptoConfig.cs
- TypeDescriptionProviderAttribute.cs
- SystemIdentity.cs
- ObjectDataSourceFilteringEventArgs.cs
- BaseInfoTable.cs
- RoutedEventHandlerInfo.cs
- Enum.cs
- DetailsViewDeleteEventArgs.cs
- Panel.cs
- ConfigXmlText.cs
- OdbcEnvironmentHandle.cs
- XPathChildIterator.cs
- DelegatedStream.cs
- ApplicationGesture.cs
- DBSchemaRow.cs
- ImportContext.cs
- KeyboardDevice.cs
- TraceListener.cs
- SubpageParagraph.cs
- OverrideMode.cs
- Int32CAMarshaler.cs
- IBuiltInEvidence.cs
- HandlerMappingMemo.cs
- TextEditor.cs
- Line.cs
- VerbConverter.cs
- DataGridLengthConverter.cs
- XmlSchemaExporter.cs
- ObjectStateFormatter.cs
- TrackingProfileCache.cs
- ColorConvertedBitmap.cs
- SelectionChangedEventArgs.cs
- MetadataArtifactLoaderFile.cs
- SwitchLevelAttribute.cs
- Cursor.cs
- VisualTarget.cs
- QueryableDataSource.cs
- DataBoundControlHelper.cs
- HttpGetServerProtocol.cs
- FormParameter.cs
- CodeRemoveEventStatement.cs
- PtsPage.cs
- ResolveNameEventArgs.cs
- BitmapData.cs
- BamlResourceDeserializer.cs
- SpellerStatusTable.cs
- dbenumerator.cs
- HostedNamedPipeTransportManager.cs
- ApplicationTrust.cs
- CustomCredentialPolicy.cs
- NotifyIcon.cs
- CodeCommentStatement.cs
- Lease.cs
- AssociationTypeEmitter.cs
- Inline.cs
- WebPartConnectionsCloseVerb.cs
- ProtectedConfigurationProviderCollection.cs
- RequestTimeoutManager.cs
- ComplexTypeEmitter.cs
- Ipv6Element.cs
- StylusPointProperties.cs
- DuplexClientBase.cs
- HttpResponseInternalWrapper.cs
- CommonObjectSecurity.cs
- ContextMenu.cs
- TdsParserSafeHandles.cs
- ToggleProviderWrapper.cs
- DataGridRowHeader.cs
- WindowsNonControl.cs
- Composition.cs
- KeyTime.cs
- XmlSerializerNamespaces.cs
- WindowsSpinner.cs
- SerializationInfoEnumerator.cs
- StorageMappingFragment.cs
- ResourceType.cs
- AssemblyResourceLoader.cs
- CalloutQueueItem.cs
- XPathDocumentIterator.cs
- RelationshipSet.cs
- SqlInternalConnection.cs
- HttpRequestWrapper.cs
- MediaScriptCommandRoutedEventArgs.cs
- CanExecuteRoutedEventArgs.cs