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
- DuplexSecurityProtocolFactory.cs
- ChannelManager.cs
- commandenforcer.cs
- CatalogPart.cs
- ClientTargetCollection.cs
- ScrollData.cs
- HiddenField.cs
- Error.cs
- TaiwanLunisolarCalendar.cs
- IsolatedStorageFilePermission.cs
- DbConnectionHelper.cs
- SpeechDetectedEventArgs.cs
- AuthorizationContext.cs
- CategoryNameCollection.cs
- StrokeCollection.cs
- SocketPermission.cs
- KoreanLunisolarCalendar.cs
- LinearGradientBrush.cs
- GeneralTransform3DTo2D.cs
- ApplicationGesture.cs
- AnnotationHighlightLayer.cs
- BindUriHelper.cs
- DataFormat.cs
- PeerContact.cs
- HostedElements.cs
- AccessDataSource.cs
- HotCommands.cs
- EarlyBoundInfo.cs
- Typeface.cs
- AgileSafeNativeMemoryHandle.cs
- CalendarDateRangeChangingEventArgs.cs
- DependencyPropertyChangedEventArgs.cs
- BitmapEffectGeneralTransform.cs
- RefreshPropertiesAttribute.cs
- XmlSignificantWhitespace.cs
- Listen.cs
- Int16AnimationUsingKeyFrames.cs
- storepermission.cs
- Hashtable.cs
- RelOps.cs
- userdatakeys.cs
- RoamingStoreFileUtility.cs
- GPRECT.cs
- LineBreak.cs
- DateTimeOffset.cs
- DataObjectEventArgs.cs
- MembershipPasswordException.cs
- SapiRecoInterop.cs
- AppDomainGrammarProxy.cs
- TemplatedMailWebEventProvider.cs
- TreeWalker.cs
- wmiprovider.cs
- TextRunCacheImp.cs
- ConfigLoader.cs
- OleServicesContext.cs
- DrawingGroup.cs
- BamlTreeMap.cs
- AnonymousIdentificationSection.cs
- XmlElementCollection.cs
- OraclePermissionAttribute.cs
- KnownIds.cs
- LayoutInformation.cs
- HttpEncoderUtility.cs
- CacheSection.cs
- SecurityCriticalDataForSet.cs
- XamlVector3DCollectionSerializer.cs
- DataGridViewBand.cs
- SqlSelectStatement.cs
- ReturnType.cs
- DocumentViewer.cs
- SqlComparer.cs
- Image.cs
- XmlCDATASection.cs
- COM2ICategorizePropertiesHandler.cs
- ElapsedEventArgs.cs
- FactoryMaker.cs
- DataReceivedEventArgs.cs
- HtmlInputImage.cs
- DataSysAttribute.cs
- KeyValuePair.cs
- FakeModelItemImpl.cs
- ActivityDesignerLayoutSerializers.cs
- SchemaNamespaceManager.cs
- DataConnectionHelper.cs
- CqlIdentifiers.cs
- Camera.cs
- ParameterModifier.cs
- QueryOperationResponseOfT.cs
- SymmetricKey.cs
- QilLoop.cs
- IdleTimeoutMonitor.cs
- ListViewAutomationPeer.cs
- CodeSnippetCompileUnit.cs
- ColumnMapTranslator.cs
- VisualStyleInformation.cs
- Visitor.cs
- SuppressIldasmAttribute.cs
- InternalControlCollection.cs
- PreProcessInputEventArgs.cs
- XmlSchemaSimpleType.cs