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
- PageBreakRecord.cs
- TransformedBitmap.cs
- UIElementCollection.cs
- WindowsContainer.cs
- CLSCompliantAttribute.cs
- AQNBuilder.cs
- TemplateKey.cs
- DoubleAnimationClockResource.cs
- DuplexSecurityProtocolFactory.cs
- Storyboard.cs
- ProtocolsConfigurationHandler.cs
- Properties.cs
- SpellerHighlightLayer.cs
- ToolStripDropDownItem.cs
- EncodingTable.cs
- MouseButtonEventArgs.cs
- MobileControlBuilder.cs
- RepeatButtonAutomationPeer.cs
- ImageListDesigner.cs
- DataControlField.cs
- PackagePartCollection.cs
- ZipIOLocalFileDataDescriptor.cs
- PropertyEmitterBase.cs
- XmlTextWriter.cs
- DocumentSchemaValidator.cs
- QilFunction.cs
- CodeDomSerializerBase.cs
- Pair.cs
- SignedXmlDebugLog.cs
- objectquery_tresulttype.cs
- Compiler.cs
- COM2PropertyDescriptor.cs
- CounterSetInstanceCounterDataSet.cs
- XmlSchemaException.cs
- LeaseManager.cs
- ControlBuilderAttribute.cs
- ShaperBuffers.cs
- StringAnimationUsingKeyFrames.cs
- Schema.cs
- Component.cs
- LicenseContext.cs
- FolderLevelBuildProvider.cs
- HandleTable.cs
- PeerCustomResolverSettings.cs
- Object.cs
- WindowsListView.cs
- LoginDesignerUtil.cs
- BaseConfigurationRecord.cs
- CheckBoxStandardAdapter.cs
- Collection.cs
- DataControlButton.cs
- messageonlyhwndwrapper.cs
- XmlSchemaGroup.cs
- InfoCardSymmetricAlgorithm.cs
- QilInvokeLateBound.cs
- _SslState.cs
- DescendantBaseQuery.cs
- XomlSerializationHelpers.cs
- NetCodeGroup.cs
- TraceHandlerErrorFormatter.cs
- ObjectQueryProvider.cs
- FontCollection.cs
- FileLogRecordHeader.cs
- ResourceExpressionBuilder.cs
- VirtualizingStackPanel.cs
- XmlStringTable.cs
- Literal.cs
- HttpWebRequestElement.cs
- TextStore.cs
- Variable.cs
- RC2CryptoServiceProvider.cs
- FieldBuilder.cs
- TemplatedAdorner.cs
- DeobfuscatingStream.cs
- ExtensibleClassFactory.cs
- dsa.cs
- LoggedException.cs
- EditorAttribute.cs
- XamlPathDataSerializer.cs
- XmlSchemaElement.cs
- XmlNamespaceMapping.cs
- BaseConfigurationRecord.cs
- ApplicationException.cs
- Int64.cs
- MD5CryptoServiceProvider.cs
- Parser.cs
- StylusEventArgs.cs
- Fx.cs
- IntSecurity.cs
- TypeSystem.cs
- HttpProcessUtility.cs
- ContentPlaceHolderDesigner.cs
- SqlBulkCopyColumnMappingCollection.cs
- ResourceExpressionBuilder.cs
- X500Name.cs
- RangeValuePattern.cs
- IProvider.cs
- TreeNodeStyle.cs
- AssociatedControlConverter.cs
- ControlValuePropertyAttribute.cs