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
- RelationshipNavigation.cs
- HtmlInputCheckBox.cs
- ACE.cs
- UserMapPath.cs
- DeploymentExceptionMapper.cs
- TextTreeFixupNode.cs
- SqlParameterCollection.cs
- CapabilitiesState.cs
- GeneralTransform3DGroup.cs
- RSACryptoServiceProvider.cs
- PTProvider.cs
- IDReferencePropertyAttribute.cs
- SqlFactory.cs
- keycontainerpermission.cs
- HandlerBase.cs
- ExpressionEditor.cs
- ServiceCredentials.cs
- HandlerFactoryCache.cs
- MethodBuilder.cs
- TextMetrics.cs
- ScriptRegistrationManager.cs
- SetStoryboardSpeedRatio.cs
- WebPartZone.cs
- TableLayoutPanelCellPosition.cs
- AmbientValueAttribute.cs
- altserialization.cs
- DataGridViewCellCollection.cs
- JsonReaderDelegator.cs
- Collection.cs
- DetailsViewCommandEventArgs.cs
- WindowsListViewScroll.cs
- DocumentGridContextMenu.cs
- MenuBindingsEditorForm.cs
- ColumnClickEvent.cs
- Tablet.cs
- Stacktrace.cs
- QilPatternFactory.cs
- XmlDocumentSurrogate.cs
- WebPartCatalogAddVerb.cs
- ByteAnimationBase.cs
- FontWeight.cs
- ScriptHandlerFactory.cs
- ProgramNode.cs
- FormParameter.cs
- ImageSource.cs
- DropDownButton.cs
- ImageConverter.cs
- Number.cs
- HtmlUtf8RawTextWriter.cs
- ProgressBarAutomationPeer.cs
- RadialGradientBrush.cs
- AnnotationResourceCollection.cs
- EventDescriptor.cs
- PropertyCollection.cs
- XmlSchemaObjectCollection.cs
- DataTableReaderListener.cs
- SkinBuilder.cs
- PresentationSource.cs
- GC.cs
- indexingfiltermarshaler.cs
- DbProviderFactory.cs
- SqlDataReaderSmi.cs
- EntityKey.cs
- IndentTextWriter.cs
- WindowsMenu.cs
- SQLSingleStorage.cs
- XmlNamespaceMappingCollection.cs
- ImageList.cs
- OrderedDictionary.cs
- OleDbConnection.cs
- ResourceReferenceExpression.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- WorkflowOperationFault.cs
- FilteredDataSetHelper.cs
- XhtmlTextWriter.cs
- CustomCategoryAttribute.cs
- RSAOAEPKeyExchangeDeformatter.cs
- GridViewColumnHeader.cs
- XmlCodeExporter.cs
- DataSvcMapFileSerializer.cs
- PreviousTrackingServiceAttribute.cs
- Utils.cs
- DynamicScriptObject.cs
- WebControlAdapter.cs
- FixedSOMPageElement.cs
- DynamicMetaObjectBinder.cs
- DataGridViewUtilities.cs
- SystemColorTracker.cs
- Util.cs
- CopyOfAction.cs
- DebugView.cs
- EventSetterHandlerConverter.cs
- OutArgument.cs
- DataRowView.cs
- Executor.cs
- ExtractorMetadata.cs
- FreeFormDragDropManager.cs
- CharacterMetricsDictionary.cs
- SystemFonts.cs
- SafeEventLogWriteHandle.cs