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
- ListViewGroupConverter.cs
- TemplateControlCodeDomTreeGenerator.cs
- MD5HashHelper.cs
- PackageFilter.cs
- EntryWrittenEventArgs.cs
- RegistryPermission.cs
- InternalControlCollection.cs
- CustomTrackingRecord.cs
- PatternMatcher.cs
- RouteItem.cs
- smtpconnection.cs
- GraphicsState.cs
- ToolStripPanelCell.cs
- ResourceDisplayNameAttribute.cs
- TreeNodeCollectionEditorDialog.cs
- OdbcInfoMessageEvent.cs
- ObjectStorage.cs
- CaseInsensitiveHashCodeProvider.cs
- unsafenativemethodstextservices.cs
- FunctionOverloadResolver.cs
- HashHelper.cs
- RightsManagementSuppressedStream.cs
- PropertyGrid.cs
- SizeIndependentAnimationStorage.cs
- X509Chain.cs
- EventLogInformation.cs
- DataGridViewControlCollection.cs
- XmlAttributes.cs
- XPathNodeInfoAtom.cs
- DataContractSerializerSection.cs
- DataServiceRequest.cs
- IItemProperties.cs
- StreamingContext.cs
- FlowDocumentReader.cs
- TypeConverterHelper.cs
- SqlProviderUtilities.cs
- Matrix3D.cs
- InputManager.cs
- WebUtil.cs
- Renderer.cs
- PageContent.cs
- GrabHandleGlyph.cs
- StringConcat.cs
- XmlSchemaFacet.cs
- Buffer.cs
- SecurityPolicySection.cs
- InfoCardSymmetricCrypto.cs
- ElementUtil.cs
- DBConnectionString.cs
- ViewEvent.cs
- CellParaClient.cs
- ComboBoxDesigner.cs
- WorkflowDispatchContext.cs
- BinaryObjectInfo.cs
- OutArgumentConverter.cs
- RawStylusInputCustomDataList.cs
- XsdValidatingReader.cs
- CategoryNameCollection.cs
- ResourcePermissionBaseEntry.cs
- ClientEventManager.cs
- HandledMouseEvent.cs
- _TimerThread.cs
- TimeSpanConverter.cs
- OleDbDataReader.cs
- SecurityAppliedMessage.cs
- BreadCrumbTextConverter.cs
- OverflowException.cs
- ManifestResourceInfo.cs
- ProcessHostServerConfig.cs
- RecordConverter.cs
- ContainerSelectorActiveEvent.cs
- DocumentGridContextMenu.cs
- Mouse.cs
- DoubleAnimationUsingKeyFrames.cs
- SymbolDocumentInfo.cs
- NameValueFileSectionHandler.cs
- AttachInfo.cs
- FormViewUpdateEventArgs.cs
- WebServicesDescriptionAttribute.cs
- ProtocolsConfigurationEntry.cs
- InstanceKeyCompleteException.cs
- DesignerAttribute.cs
- SmiEventSink_DeferedProcessing.cs
- WsdlEndpointConversionContext.cs
- WebDescriptionAttribute.cs
- StringTraceRecord.cs
- TargetException.cs
- JsonUriDataContract.cs
- ConstNode.cs
- OleDbStruct.cs
- _SSPIWrapper.cs
- SimpleNameService.cs
- TableLayoutCellPaintEventArgs.cs
- ExternalFile.cs
- SafeHandle.cs
- ErasingStroke.cs
- ProxySimple.cs
- EntityException.cs
- UInt16Converter.cs
- DataGridItemCollection.cs