Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- CodeTypeParameter.cs
- ResourceAssociationType.cs
- StylusDownEventArgs.cs
- TypeHelpers.cs
- LambdaCompiler.Address.cs
- SoapFault.cs
- RotateTransform.cs
- CommandLibraryHelper.cs
- HttpHandler.cs
- MenuItemBindingCollection.cs
- LZCodec.cs
- MessageParameterAttribute.cs
- XmlSchemaSequence.cs
- PolyLineSegment.cs
- ScriptMethodAttribute.cs
- HMACSHA256.cs
- PreviewKeyDownEventArgs.cs
- ErrorWebPart.cs
- AdPostCacheSubstitution.cs
- EntityDesignerDataSourceView.cs
- AddInControllerImpl.cs
- EvidenceBase.cs
- Monitor.cs
- CompilerError.cs
- TextDecoration.cs
- Environment.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- AutomationProperties.cs
- WindowsListViewSubItem.cs
- TrustManager.cs
- ModuleBuilderData.cs
- BitHelper.cs
- SQLUtility.cs
- DateTimeFormat.cs
- HttpFileCollectionBase.cs
- DataRowExtensions.cs
- DetailsViewDesigner.cs
- LoginUtil.cs
- RC2.cs
- StatusBarPanelClickEvent.cs
- DiffuseMaterial.cs
- HMACSHA384.cs
- AssemblyResolver.cs
- MembershipSection.cs
- RoleGroupCollectionEditor.cs
- ActiveXSerializer.cs
- Byte.cs
- BaseTemplateCodeDomTreeGenerator.cs
- Schema.cs
- XmlQueryOutput.cs
- LinqDataSourceEditData.cs
- GetPageNumberCompletedEventArgs.cs
- ClonableStack.cs
- DialogResultConverter.cs
- DataContext.cs
- SqlDataSourceFilteringEventArgs.cs
- MeasurementDCInfo.cs
- User.cs
- log.cs
- ExpressionPrefixAttribute.cs
- RouteItem.cs
- XmlSchemaGroup.cs
- Token.cs
- WebPartMenu.cs
- GridItemCollection.cs
- RijndaelManagedTransform.cs
- HttpCacheParams.cs
- EditingContext.cs
- ValidationResults.cs
- DelayedRegex.cs
- ExpressionConverter.cs
- ListBase.cs
- PropertyGrid.cs
- ISCIIEncoding.cs
- ControlCachePolicy.cs
- IntSecurity.cs
- UserControlCodeDomTreeGenerator.cs
- TemplatedMailWebEventProvider.cs
- PublishLicense.cs
- CompiledQuery.cs
- Helper.cs
- Visual.cs
- CollectionEditVerbManager.cs
- selecteditemcollection.cs
- OdbcHandle.cs
- SendOperation.cs
- NullableDecimalAverageAggregationOperator.cs
- TextRangeAdaptor.cs
- SrgsSubset.cs
- IISMapPath.cs
- HashAlgorithm.cs
- JoinQueryOperator.cs
- Stylesheet.cs
- CompilationUnit.cs
- ReverseComparer.cs
- SetStateDesigner.cs
- DetailsViewRow.cs
- CodeTypeOfExpression.cs
- LayoutEngine.cs
- MethodBuilder.cs