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
- WindowsListViewScroll.cs
- PaintValueEventArgs.cs
- XmlQueryRuntime.cs
- ContentElement.cs
- TextEndOfLine.cs
- ServiceParser.cs
- DataRelation.cs
- KerberosReceiverSecurityToken.cs
- MailWriter.cs
- Pointer.cs
- XmlNamedNodeMap.cs
- HandleScope.cs
- WebGetAttribute.cs
- SystemNetHelpers.cs
- ApplicationHost.cs
- _ChunkParse.cs
- RootNamespaceAttribute.cs
- BufferBuilder.cs
- ObjectQueryProvider.cs
- MSAANativeProvider.cs
- PropertyGridCommands.cs
- VarRemapper.cs
- StatusBarPanel.cs
- GrammarBuilderDictation.cs
- LogExtentCollection.cs
- ReplacementText.cs
- PixelShader.cs
- XmlDataCollection.cs
- CacheModeConverter.cs
- ColumnReorderedEventArgs.cs
- XmlName.cs
- ChangePassword.cs
- Renderer.cs
- XmlSchemaSearchPattern.cs
- Int32Converter.cs
- XmlKeywords.cs
- ProgressBarBrushConverter.cs
- PartitionResolver.cs
- CultureTableRecord.cs
- AnchoredBlock.cs
- TrackingCondition.cs
- StrokeCollection2.cs
- DependencyPropertyValueSerializer.cs
- ComponentEditorForm.cs
- oledbmetadatacollectionnames.cs
- ThrowHelper.cs
- RSACryptoServiceProvider.cs
- ValidationEventArgs.cs
- SecureEnvironment.cs
- MsmqProcessProtocolHandler.cs
- TransformConverter.cs
- SourceChangedEventArgs.cs
- TemplatedWizardStep.cs
- ContainerUtilities.cs
- TablePatternIdentifiers.cs
- AvTraceDetails.cs
- ExecutedRoutedEventArgs.cs
- IDictionary.cs
- ItemCheckedEvent.cs
- SoapSchemaMember.cs
- RepeaterItemCollection.cs
- SqlPersistenceWorkflowInstanceDescription.cs
- StateDesignerConnector.cs
- CatalogZone.cs
- CodeGotoStatement.cs
- XmlAtomicValue.cs
- WebBrowserDocumentCompletedEventHandler.cs
- OdbcConnectionFactory.cs
- DigitShape.cs
- ResXBuildProvider.cs
- DBConcurrencyException.cs
- ConnectionStringSettings.cs
- TabItem.cs
- CapabilitiesPattern.cs
- SkinBuilder.cs
- OleDbDataReader.cs
- RelatedEnd.cs
- TransformCollection.cs
- indexingfiltermarshaler.cs
- DecimalKeyFrameCollection.cs
- SqlSelectStatement.cs
- PolicyUnit.cs
- LambdaCompiler.Expressions.cs
- SvcMapFileLoader.cs
- Message.cs
- CustomErrorsSection.cs
- SoapSchemaMember.cs
- XamlReaderConstants.cs
- Array.cs
- EncodingInfo.cs
- PermissionRequestEvidence.cs
- FolderLevelBuildProvider.cs
- NamespaceMapping.cs
- FileChangesMonitor.cs
- BoundField.cs
- WebServiceHostFactory.cs
- XmlReaderSettings.cs
- JsonReader.cs
- TransformerTypeCollection.cs
- XmlResolver.cs