Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- DragEventArgs.cs
- LinqTreeNodeEvaluator.cs
- UpWmlPageAdapter.cs
- WindowsImpersonationContext.cs
- SoapTypeAttribute.cs
- ListViewItem.cs
- XmlMembersMapping.cs
- HttpHandlerActionCollection.cs
- TextModifier.cs
- SQLRoleProvider.cs
- AddInControllerImpl.cs
- _StreamFramer.cs
- ParallelDesigner.cs
- GuidelineSet.cs
- RegexEditorDialog.cs
- CodeMemberEvent.cs
- SqlReorderer.cs
- EntityCommandCompilationException.cs
- NetworkAddressChange.cs
- ScalarOps.cs
- TimeSpanMinutesConverter.cs
- WinFormsComponentEditor.cs
- PerformanceCounter.cs
- SymLanguageVendor.cs
- EventlogProvider.cs
- FileLevelControlBuilderAttribute.cs
- MdiWindowListItemConverter.cs
- RequestCacheManager.cs
- DispatcherFrame.cs
- CompilerCollection.cs
- Rect3DValueSerializer.cs
- PropertyGeneratedEventArgs.cs
- CompressStream.cs
- TickBar.cs
- DataTablePropertyDescriptor.cs
- InvokeHandlers.cs
- TraceHandler.cs
- DesignConnectionCollection.cs
- HScrollProperties.cs
- HttpModule.cs
- SamlDoNotCacheCondition.cs
- ManualResetEvent.cs
- ProjectionPathBuilder.cs
- AssemblyFilter.cs
- HelpInfo.cs
- GridPattern.cs
- CloudCollection.cs
- DataGridViewCheckBoxCell.cs
- UnsafeNativeMethodsPenimc.cs
- ContextBase.cs
- WriteFileContext.cs
- SafeBitVector32.cs
- IntegerValidator.cs
- HTTPNotFoundHandler.cs
- AspNetHostingPermission.cs
- DataTableReaderListener.cs
- ErrorHandler.cs
- TabControlEvent.cs
- DefaultPropertyAttribute.cs
- MergeFilterQuery.cs
- SmtpMail.cs
- MaskedTextBoxTextEditor.cs
- TextBoxLine.cs
- TextTreeFixupNode.cs
- PersistenceTypeAttribute.cs
- RadioButtonFlatAdapter.cs
- DataAdapter.cs
- documentsequencetextview.cs
- PathFigure.cs
- CheckBox.cs
- SqlTransaction.cs
- PolyLineSegmentFigureLogic.cs
- PersistenceTypeAttribute.cs
- AddInIpcChannel.cs
- PenThreadWorker.cs
- QilInvoke.cs
- QuotaThrottle.cs
- SoapHeaderAttribute.cs
- ReliabilityContractAttribute.cs
- SvcMapFileSerializer.cs
- PathGeometry.cs
- ActivityInstance.cs
- ProcessHost.cs
- SessionEndingCancelEventArgs.cs
- Binding.cs
- ObjectKeyFrameCollection.cs
- NullRuntimeConfig.cs
- PaginationProgressEventArgs.cs
- GlobalEventManager.cs
- ListItemCollection.cs
- HashSetEqualityComparer.cs
- ListBase.cs
- DependsOnAttribute.cs
- OdbcCommandBuilder.cs
- ReadOnlyAttribute.cs
- DetailsViewPagerRow.cs
- assemblycache.cs
- FixedDSBuilder.cs
- WebConvert.cs
- BuilderPropertyEntry.cs