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
- TypefaceMap.cs
- XsdValidatingReader.cs
- PermissionAttributes.cs
- ImageListUtils.cs
- Shape.cs
- TCPClient.cs
- RuntimeCompatibilityAttribute.cs
- Camera.cs
- ClientEventManager.cs
- RequestBringIntoViewEventArgs.cs
- Event.cs
- SafeFileMapViewHandle.cs
- TemplateManager.cs
- SimpleTypeResolver.cs
- WebPartDisplayMode.cs
- XmlCharacterData.cs
- MsdtcWrapper.cs
- ButtonField.cs
- Win32Exception.cs
- FontCacheUtil.cs
- ArrayElementGridEntry.cs
- DataControlField.cs
- CompareInfo.cs
- UInt16.cs
- ManipulationDelta.cs
- BitmapEncoder.cs
- FloatMinMaxAggregationOperator.cs
- ToolStripProgressBar.cs
- GacUtil.cs
- UidPropertyAttribute.cs
- XmlDocumentType.cs
- ScrollItemPatternIdentifiers.cs
- FixedTextBuilder.cs
- HttpPostClientProtocol.cs
- SqlRowUpdatingEvent.cs
- PowerStatus.cs
- AsymmetricKeyExchangeFormatter.cs
- FilteredXmlReader.cs
- VerificationException.cs
- RawStylusInput.cs
- TreeViewCancelEvent.cs
- SemanticTag.cs
- PageEventArgs.cs
- WebBrowserContainer.cs
- Menu.cs
- TCEAdapterGenerator.cs
- InputElement.cs
- CollectionViewProxy.cs
- CodeTypeMember.cs
- CorrelationValidator.cs
- SqlMethodCallConverter.cs
- XmlReaderDelegator.cs
- WebEventTraceProvider.cs
- CaseInsensitiveOrdinalStringComparer.cs
- Crypto.cs
- HttpChannelListener.cs
- StylusEditingBehavior.cs
- Camera.cs
- RegionInfo.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- columnmapfactory.cs
- SmtpNtlmAuthenticationModule.cs
- OptimalBreakSession.cs
- DataGridViewCellEventArgs.cs
- ImmutableObjectAttribute.cs
- SoapHeaderAttribute.cs
- BrowsableAttribute.cs
- WindowsRichEdit.cs
- PasswordBox.cs
- XLinq.cs
- MethodToken.cs
- PointKeyFrameCollection.cs
- EdgeModeValidation.cs
- OleDbConnectionInternal.cs
- Opcode.cs
- FunctionDetailsReader.cs
- MetadataCache.cs
- SQLDouble.cs
- SolidBrush.cs
- ArcSegment.cs
- ComponentCollection.cs
- MaskInputRejectedEventArgs.cs
- RequestSecurityTokenResponseCollection.cs
- DragDropHelper.cs
- ClearTypeHintValidation.cs
- SafeBitVector32.cs
- CompareInfo.cs
- Image.cs
- CharacterString.cs
- TriState.cs
- LeaseManager.cs
- Int16Animation.cs
- Filter.cs
- WebFormDesignerActionService.cs
- GeometryGroup.cs
- XamlHostingSection.cs
- OleDbMetaDataFactory.cs
- ConnectorEditor.cs
- SqlParameter.cs
- Button.cs