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
- SingleAnimationUsingKeyFrames.cs
- NamedElement.cs
- RoleManagerModule.cs
- COM2PropertyDescriptor.cs
- Graph.cs
- TreeNode.cs
- ScrollViewer.cs
- TextDecorationCollection.cs
- login.cs
- MetricEntry.cs
- RenamedEventArgs.cs
- ResourceKey.cs
- DoubleAnimationUsingKeyFrames.cs
- AxisAngleRotation3D.cs
- ReflectionPermission.cs
- ReadOnlyDictionary.cs
- TextParagraphCache.cs
- unitconverter.cs
- SafeArrayTypeMismatchException.cs
- regiisutil.cs
- DataServices.cs
- LexicalChunk.cs
- TextAction.cs
- HttpCachePolicyBase.cs
- TextParentUndoUnit.cs
- KeyValuePair.cs
- SoapFault.cs
- AssemblyUtil.cs
- BaseAsyncResult.cs
- TreeBuilder.cs
- XmlSchemaChoice.cs
- DrawingCollection.cs
- CoTaskMemSafeHandle.cs
- DockProviderWrapper.cs
- AdornerLayer.cs
- ArraySortHelper.cs
- ClientCredentials.cs
- UnitySerializationHolder.cs
- InputReport.cs
- EntityDataSourceChangedEventArgs.cs
- DateTimeValueSerializerContext.cs
- CodeBinaryOperatorExpression.cs
- TextContainerChangeEventArgs.cs
- ModifyActivitiesPropertyDescriptor.cs
- DataObjectCopyingEventArgs.cs
- WebBrowserNavigatingEventHandler.cs
- DesignerActionItemCollection.cs
- ContextMenuStripGroupCollection.cs
- Util.cs
- SelectiveScrollingGrid.cs
- DataChangedEventManager.cs
- SoapTransportImporter.cs
- EventHandlersDesigner.cs
- InvalidOleVariantTypeException.cs
- ConfigurationHandlersInstallComponent.cs
- GetFileNameResult.cs
- HttpCapabilitiesSectionHandler.cs
- AuthenticationModuleElementCollection.cs
- ObjectTokenCategory.cs
- DecimalStorage.cs
- InstanceCreationEditor.cs
- DataGridViewSortCompareEventArgs.cs
- NegatedConstant.cs
- designeractionlistschangedeventargs.cs
- MILUtilities.cs
- Converter.cs
- DataListComponentEditor.cs
- loginstatus.cs
- XPathNodeList.cs
- PrimitiveType.cs
- TargetParameterCountException.cs
- BuildProvider.cs
- PaginationProgressEventArgs.cs
- ToolStripItemCollection.cs
- Panel.cs
- SymmetricAlgorithm.cs
- ColumnClickEvent.cs
- QueryCacheManager.cs
- _CommandStream.cs
- WindowsFormsDesignerOptionService.cs
- OdbcDataAdapter.cs
- SparseMemoryStream.cs
- SaveLedgerEntryRequest.cs
- InProcStateClientManager.cs
- WebBrowserDocumentCompletedEventHandler.cs
- UnmanagedMarshal.cs
- BaseResourcesBuildProvider.cs
- AuthenticationService.cs
- IndexedString.cs
- ComboBoxAutomationPeer.cs
- Latin1Encoding.cs
- XmlNode.cs
- DataServiceRequest.cs
- SafeSecurityHandles.cs
- EvidenceTypeDescriptor.cs
- KeyFrames.cs
- GridViewColumnCollection.cs
- SimpleFieldTemplateUserControl.cs
- counter.cs
- XmlBinaryWriter.cs