Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / wpf / src / 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. //------------------------------------------------------------------------------ // 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
- PropertyEmitter.cs
- Int32AnimationUsingKeyFrames.cs
- GrammarBuilderPhrase.cs
- ImageMap.cs
- AstTree.cs
- Single.cs
- BypassElement.cs
- WinEventWrap.cs
- NamedObject.cs
- ColumnMapCopier.cs
- Triplet.cs
- HealthMonitoringSection.cs
- RawKeyboardInputReport.cs
- SkinBuilder.cs
- DecoderFallbackWithFailureFlag.cs
- GeneralTransform3DGroup.cs
- WsatServiceCertificate.cs
- ThaiBuddhistCalendar.cs
- DoubleAnimationBase.cs
- DataListItem.cs
- Rules.cs
- EntityException.cs
- Completion.cs
- AssemblyNameProxy.cs
- PolicyStatement.cs
- XmlSchemaDocumentation.cs
- ObjectStateEntry.cs
- SiteOfOriginPart.cs
- CustomWebEventKey.cs
- SystemKeyConverter.cs
- RequestDescription.cs
- AutoCompleteStringCollection.cs
- Point.cs
- BaseProcessor.cs
- PackagingUtilities.cs
- Label.cs
- SimpleRecyclingCache.cs
- UnconditionalPolicy.cs
- SafeProcessHandle.cs
- Pair.cs
- _AutoWebProxyScriptWrapper.cs
- TimeBoundedCache.cs
- Control.cs
- ApplicationContext.cs
- QilGenerator.cs
- SafeRightsManagementSessionHandle.cs
- TypedDataSetSchemaImporterExtension.cs
- PeerNameResolver.cs
- PrintDialogException.cs
- ControlIdConverter.cs
- OleDbInfoMessageEvent.cs
- ConstNode.cs
- ListBoxAutomationPeer.cs
- DataGridAutoFormat.cs
- InstancePersistenceCommandException.cs
- DrawingAttributesDefaultValueFactory.cs
- PersonalizablePropertyEntry.cs
- ManifestResourceInfo.cs
- XPathNodeList.cs
- tooltip.cs
- EntityDataSourceValidationException.cs
- TdsParserSafeHandles.cs
- Rotation3DAnimationUsingKeyFrames.cs
- DataGridDesigner.cs
- RoleGroup.cs
- CodeAttributeArgumentCollection.cs
- EncryptedKeyIdentifierClause.cs
- PrimitiveXmlSerializers.cs
- SliderAutomationPeer.cs
- WebReferenceOptions.cs
- ReadOnlyHierarchicalDataSource.cs
- WebPartMinimizeVerb.cs
- ClockGroup.cs
- CodePropertyReferenceExpression.cs
- sqlpipe.cs
- Scene3D.cs
- QuaternionAnimation.cs
- XmlSchemaNotation.cs
- ItemContainerGenerator.cs
- MouseDevice.cs
- DynamicRenderer.cs
- ImageMap.cs
- validationstate.cs
- BaseDataBoundControl.cs
- SafeRightsManagementQueryHandle.cs
- documentsequencetextcontainer.cs
- CodeCommentStatement.cs
- EpmSourceTree.cs
- SafeLocalMemHandle.cs
- SoapIgnoreAttribute.cs
- AsymmetricSignatureDeformatter.cs
- Subtree.cs
- ImageUrlEditor.cs
- RichTextBoxConstants.cs
- WpfMemberInvoker.cs
- EventRoute.cs
- TextServicesLoader.cs
- DbCommandDefinition.cs
- ScrollItemPatternIdentifiers.cs
- dataprotectionpermissionattribute.cs