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
- HttpModuleAction.cs
- XmlSchemaAppInfo.cs
- NullableIntMinMaxAggregationOperator.cs
- DataGridHeaderBorder.cs
- ClientSession.cs
- HttpCookieCollection.cs
- CreateUserWizard.cs
- HyperLink.cs
- GridViewSelectEventArgs.cs
- RuntimeConfigLKG.cs
- FileLoadException.cs
- Win32Exception.cs
- WorkflowApplicationException.cs
- RuntimeEnvironment.cs
- ReadOnlyHierarchicalDataSourceView.cs
- OdbcFactory.cs
- MultipleViewProviderWrapper.cs
- StateDesigner.cs
- ServiceReflector.cs
- DataGridViewButtonCell.cs
- SmiConnection.cs
- TabControlAutomationPeer.cs
- AsymmetricKeyExchangeDeformatter.cs
- ClientFormsIdentity.cs
- AdCreatedEventArgs.cs
- SoapExtensionImporter.cs
- XmlSchemaCompilationSettings.cs
- LineMetrics.cs
- TimeoutException.cs
- OracleTimeSpan.cs
- EdmProperty.cs
- ArraySubsetEnumerator.cs
- InitializationEventAttribute.cs
- ClickablePoint.cs
- ManualResetEvent.cs
- BindingMemberInfo.cs
- ItemsControlAutomationPeer.cs
- InheritanceContextChangedEventManager.cs
- QilList.cs
- ResXFileRef.cs
- ParagraphResult.cs
- MemberRelationshipService.cs
- Events.cs
- PointLightBase.cs
- AppDomainAttributes.cs
- SymbolMethod.cs
- MimeParameters.cs
- ToolboxDataAttribute.cs
- InternalBufferOverflowException.cs
- X509ServiceCertificateAuthentication.cs
- PropagatorResult.cs
- TablePatternIdentifiers.cs
- ImageDrawing.cs
- SeekableReadStream.cs
- XmlUtil.cs
- HostAdapter.cs
- TokenizerHelper.cs
- FixedBufferAttribute.cs
- InvokePattern.cs
- InternalUserCancelledException.cs
- Metafile.cs
- DataSourceExpressionCollection.cs
- MexServiceChannelBuilder.cs
- SafeBitVector32.cs
- TrackPoint.cs
- WriterOutput.cs
- ModelTreeEnumerator.cs
- DataContractSerializerSection.cs
- FormsAuthenticationUser.cs
- DataBoundControlHelper.cs
- DefaultMergeHelper.cs
- InfoCardRSAOAEPKeyExchangeFormatter.cs
- XmlSchemaAnnotation.cs
- IList.cs
- XmlSchemaComplexType.cs
- ScriptManagerProxy.cs
- RelationalExpressions.cs
- SessionKeyExpiredException.cs
- RelationshipWrapper.cs
- StateElement.cs
- AnnotationComponentManager.cs
- ReadOnlyCollection.cs
- RSACryptoServiceProvider.cs
- XmlDataSourceView.cs
- PageFunction.cs
- FieldDescriptor.cs
- SmtpClient.cs
- SafeTimerHandle.cs
- NavigationWindow.cs
- BlobPersonalizationState.cs
- MetadataWorkspace.cs
- StringValueConverter.cs
- pingexception.cs
- PageRequestManager.cs
- SqlCharStream.cs
- _ContextAwareResult.cs
- IsolatedStorageFile.cs
- FileRecordSequence.cs
- ConnectionStringsExpressionBuilder.cs
- AddingNewEventArgs.cs