Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Framework / System / Windows / Controls / ExceptionRoutedEventArgs.cs / 1 / 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
- DataBindingHandlerAttribute.cs
- DataGridViewIntLinkedList.cs
- CollectionExtensions.cs
- JsonReaderWriterFactory.cs
- dtdvalidator.cs
- EventItfInfo.cs
- LinqDataSourceSelectEventArgs.cs
- Context.cs
- Geometry3D.cs
- MapPathBasedVirtualPathProvider.cs
- COM2ExtendedUITypeEditor.cs
- ThicknessAnimation.cs
- DataList.cs
- SafeNativeMethodsOther.cs
- ListControlStringCollectionEditor.cs
- ClientConfigurationHost.cs
- RangeValueProviderWrapper.cs
- Condition.cs
- Set.cs
- ParallelEnumerable.cs
- AvTraceFormat.cs
- Internal.cs
- TextDecoration.cs
- TrackBarRenderer.cs
- SharedPersonalizationStateInfo.cs
- Converter.cs
- HtmlInputCheckBox.cs
- BooleanFacetDescriptionElement.cs
- BufferedOutputStream.cs
- ErrorProvider.cs
- NTAccount.cs
- DataObjectSettingDataEventArgs.cs
- HwndStylusInputProvider.cs
- ConnectionOrientedTransportChannelFactory.cs
- ExpressionConverter.cs
- StatementContext.cs
- GetCryptoTransformRequest.cs
- RecordManager.cs
- Pen.cs
- Directory.cs
- InputEventArgs.cs
- RepeatButtonAutomationPeer.cs
- AutomationPropertyInfo.cs
- ThreadStateException.cs
- ActivitySurrogateSelector.cs
- DataGridCaption.cs
- DomainUpDown.cs
- SourceExpressionException.cs
- BevelBitmapEffect.cs
- HttpPostedFile.cs
- InternalConfigRoot.cs
- AudioStateChangedEventArgs.cs
- OneOfElement.cs
- FullTextLine.cs
- HttpRawResponse.cs
- DataFormats.cs
- ParameterCollection.cs
- QualifiedCellIdBoolean.cs
- CodeConstructor.cs
- HtmlInputButton.cs
- SoapSchemaExporter.cs
- Comparer.cs
- FontNamesConverter.cs
- HttpCacheVaryByContentEncodings.cs
- FilterableAttribute.cs
- Bitmap.cs
- TCPClient.cs
- QilParameter.cs
- BoolLiteral.cs
- EntityDataSourceUtil.cs
- QueryPageSettingsEventArgs.cs
- precedingsibling.cs
- ImageListImage.cs
- SqlUtils.cs
- ComplexType.cs
- WebEvents.cs
- Thickness.cs
- DataGridViewRowsRemovedEventArgs.cs
- RegionData.cs
- ResourceType.cs
- TransportSecurityHelpers.cs
- OpacityConverter.cs
- RadioButton.cs
- SimpleApplicationHost.cs
- SafeRightsManagementHandle.cs
- HtmlMeta.cs
- CodeArrayIndexerExpression.cs
- RoutedPropertyChangedEventArgs.cs
- ThrowHelper.cs
- CommandEventArgs.cs
- FontDialog.cs
- XmlSchemaSimpleContent.cs
- ContextMarshalException.cs
- DateTimeOffsetStorage.cs
- MemberMaps.cs
- TypedTableGenerator.cs
- Label.cs
- ButtonField.cs
- ListBoxChrome.cs
- DependencyPropertyValueSerializer.cs