Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Framework / System / Windows / Controls / ExceptionRoutedEventArgs.cs / 1305600 / ExceptionRoutedEventArgs.cs
//------------------------------------------------------------------------------
// Microsoft Avalon
// Copyright (c) Microsoft Corporation, 2003
//
// File: ExceptionRoutedEventArgs.cs
//
//-----------------------------------------------------------------------------
using System;
namespace System.Windows
{
#region ExceptionRoutedEventArgs
///
/// Holds the error event arguments for media failed events from a MediaElement.
/// Since other MediaFailed events from the MediaClock or MediaTimeline are not
/// routed events, this is separated out into a different class.
///
public sealed class ExceptionRoutedEventArgs : RoutedEventArgs
{
internal
ExceptionRoutedEventArgs(
RoutedEvent routedEvent,
object sender,
Exception errorException
) : base(routedEvent, sender)
{
if (errorException == null)
{
throw new ArgumentNullException("errorException");
}
_errorException = errorException;
}
///
/// The exception that describes the media failure.
///
public Exception ErrorException
{
get
{
return _errorException;
}
}
private Exception _errorException;
};
#endregion
} // namespace System.Windows
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- InternalBase.cs
- StylusSystemGestureEventArgs.cs
- DbConnectionClosed.cs
- SamlAuthorizationDecisionStatement.cs
- BuildProviderUtils.cs
- PersistenceTypeAttribute.cs
- HtmlTableCell.cs
- EncoderFallback.cs
- UnsafeNativeMethods.cs
- FileDialogCustomPlace.cs
- Transform3DCollection.cs
- ValidatingReaderNodeData.cs
- _NetRes.cs
- IsolatedStorage.cs
- DurableInstanceProvider.cs
- ArgumentOutOfRangeException.cs
- CompiledRegexRunner.cs
- ComplexPropertyEntry.cs
- HandlerMappingMemo.cs
- RoleManagerModule.cs
- FixedNode.cs
- DataGridViewRow.cs
- BitmapImage.cs
- PackagingUtilities.cs
- XPathArrayIterator.cs
- CodeTypeDeclaration.cs
- Brushes.cs
- TextTreePropertyUndoUnit.cs
- Configuration.cs
- ReaderWriterLockWrapper.cs
- SchemaNames.cs
- EnumerableValidator.cs
- LocalBuilder.cs
- FullTrustAssembliesSection.cs
- ValueQuery.cs
- SQLDecimal.cs
- XDeferredAxisSource.cs
- SpellerStatusTable.cs
- LogReservationCollection.cs
- XhtmlTextWriter.cs
- GridItemPatternIdentifiers.cs
- DesignerContextDescriptor.cs
- DataContractSerializerOperationBehavior.cs
- TextWriterTraceListener.cs
- FileVersionInfo.cs
- KerberosSecurityTokenAuthenticator.cs
- RowType.cs
- SmiEventSink_DeferedProcessing.cs
- ReferenceSchema.cs
- ClientBuildManager.cs
- MorphHelper.cs
- InfoCardSymmetricCrypto.cs
- X509Certificate.cs
- CompilerCollection.cs
- ActivityMarkupSerializer.cs
- HttpContextBase.cs
- Activator.cs
- SmiMetaDataProperty.cs
- ColorContext.cs
- Convert.cs
- RectIndependentAnimationStorage.cs
- ColumnHeader.cs
- httpstaticobjectscollection.cs
- LinqDataSourceContextData.cs
- RectangleHotSpot.cs
- SqlMethodAttribute.cs
- VectorValueSerializer.cs
- PropertyEntry.cs
- DictionarySectionHandler.cs
- DataGridState.cs
- IndependentAnimationStorage.cs
- XmlNodeList.cs
- SqlConnectionManager.cs
- AssociatedControlConverter.cs
- HelpInfo.cs
- Debug.cs
- EntityDataSourceContextCreatedEventArgs.cs
- AlgoModule.cs
- MailWriter.cs
- XmlSchemaComplexType.cs
- WmfPlaceableFileHeader.cs
- UIElementAutomationPeer.cs
- XmlIlVisitor.cs
- TypeInitializationException.cs
- TreeNodeEventArgs.cs
- PropertyStore.cs
- StandardCommands.cs
- SQLSingle.cs
- AsyncDataRequest.cs
- SponsorHelper.cs
- ObjectToModelValueConverter.cs
- CallSiteHelpers.cs
- ExtenderProvidedPropertyAttribute.cs
- StdValidatorsAndConverters.cs
- dataobject.cs
- SafeArrayRankMismatchException.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- EditingMode.cs
- NGCSerializationManager.cs
- ThemeableAttribute.cs