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
- DataListItemEventArgs.cs
- UIHelper.cs
- OleDbPropertySetGuid.cs
- AsymmetricSignatureFormatter.cs
- WebPartZoneCollection.cs
- EventLogSession.cs
- Encoder.cs
- WindowsFormsHostAutomationPeer.cs
- WebPartMovingEventArgs.cs
- MemberPath.cs
- SchemaType.cs
- COM2ComponentEditor.cs
- HeaderedItemsControl.cs
- RowToParametersTransformer.cs
- SpecialFolderEnumConverter.cs
- WCFBuildProvider.cs
- MsmqBindingElementBase.cs
- SafeFileMappingHandle.cs
- CatchBlock.cs
- InvalidAsynchronousStateException.cs
- ExtendedProtectionPolicyTypeConverter.cs
- GridPattern.cs
- NotificationContext.cs
- Selection.cs
- WebBrowser.cs
- ResizeGrip.cs
- GroupBox.cs
- NGCSerializerAsync.cs
- SetStoryboardSpeedRatio.cs
- XmlSchemaValidator.cs
- SoapSchemaMember.cs
- DetailsViewActionList.cs
- SerializationStore.cs
- _Events.cs
- FormDocumentDesigner.cs
- XmlSerializerSection.cs
- AsymmetricSignatureDeformatter.cs
- HttpProfileGroupBase.cs
- FileDetails.cs
- DbConnectionOptions.cs
- SecurityDescriptor.cs
- IISMapPath.cs
- WebBrowserHelper.cs
- XmlTextReaderImpl.cs
- BinaryConverter.cs
- PropertyEntry.cs
- IndicShape.cs
- CodePageUtils.cs
- ConfigurationSchemaErrors.cs
- Transform3DGroup.cs
- SystemBrushes.cs
- CustomAttributeFormatException.cs
- ParameterExpression.cs
- TableLayoutSettingsTypeConverter.cs
- assemblycache.cs
- DateTimePickerDesigner.cs
- BrowserDefinition.cs
- WebPartUtil.cs
- PointLight.cs
- LoginCancelEventArgs.cs
- FamilyMap.cs
- brushes.cs
- XmlChildEnumerator.cs
- ManifestResourceInfo.cs
- ToolboxComponentsCreatingEventArgs.cs
- WrapPanel.cs
- WebPartTransformerAttribute.cs
- GeneralTransform3DGroup.cs
- MimeMapping.cs
- ModifierKeysConverter.cs
- ConfigXmlCDataSection.cs
- DetailsViewUpdatedEventArgs.cs
- MaterializeFromAtom.cs
- PolyLineSegmentFigureLogic.cs
- SqlIdentifier.cs
- CommandSet.cs
- XmlObjectSerializerWriteContextComplex.cs
- InputChannelAcceptor.cs
- Classification.cs
- Grant.cs
- MetadataReference.cs
- TargetParameterCountException.cs
- RepeatButtonAutomationPeer.cs
- NamedElement.cs
- ContractInferenceHelper.cs
- AxImporter.cs
- SelectionProviderWrapper.cs
- MouseEvent.cs
- FixedPageStructure.cs
- HttpStreamMessage.cs
- SafeCoTaskMem.cs
- SHA256.cs
- ConfigurationSchemaErrors.cs
- BitVector32.cs
- TreeNode.cs
- XmlUtil.cs
- XamlStream.cs
- VisualStyleRenderer.cs
- X509CertificateEndpointIdentity.cs
- Utils.cs