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
- MessageQueueInstaller.cs
- DBCommand.cs
- Content.cs
- RoleServiceManager.cs
- InfoCardSymmetricCrypto.cs
- BitmapCodecInfo.cs
- MenuItemBindingCollection.cs
- ReadOnlyDictionary.cs
- DataBindingHandlerAttribute.cs
- _SafeNetHandles.cs
- ExceptionHandlersDesigner.cs
- DynamicResourceExtensionConverter.cs
- AuthenticationService.cs
- ConvertEvent.cs
- BufferedStream.cs
- FixedSOMElement.cs
- Label.cs
- BaseConfigurationRecord.cs
- AuthenticateEventArgs.cs
- ToolBar.cs
- SynchronizationScope.cs
- Misc.cs
- ResourceManager.cs
- PeerCustomResolverElement.cs
- AppSettingsExpressionBuilder.cs
- RequestQueue.cs
- ThumbAutomationPeer.cs
- QualifierSet.cs
- NegatedConstant.cs
- SQLResource.cs
- DataKeyArray.cs
- Rss20FeedFormatter.cs
- dataobject.cs
- OrderedDictionary.cs
- _NTAuthentication.cs
- ExpressionStringBuilder.cs
- ColumnPropertiesGroup.cs
- Timeline.cs
- LogicalExpressionEditor.cs
- dsa.cs
- ObjectContextServiceProvider.cs
- TokenBasedSetEnumerator.cs
- _Semaphore.cs
- BuildResult.cs
- MachineKeySection.cs
- StyleXamlParser.cs
- EventMappingSettingsCollection.cs
- WindowsFormsSynchronizationContext.cs
- XXXInfos.cs
- Socket.cs
- Maps.cs
- List.cs
- Pair.cs
- NativeMsmqMessage.cs
- ToolstripProfessionalRenderer.cs
- IPHostEntry.cs
- BrowserInteropHelper.cs
- InputLanguageCollection.cs
- GlyphRunDrawing.cs
- ReplyChannel.cs
- PositiveTimeSpanValidatorAttribute.cs
- DataBindingCollection.cs
- FastEncoderWindow.cs
- NamedElement.cs
- FixedPage.cs
- DirectoryRedirect.cs
- FileResponseElement.cs
- WebPartRestoreVerb.cs
- PropertySet.cs
- SplineKeyFrames.cs
- InkCollectionBehavior.cs
- RunWorkerCompletedEventArgs.cs
- MemberInfoSerializationHolder.cs
- RegexReplacement.cs
- UserControlCodeDomTreeGenerator.cs
- WmlImageAdapter.cs
- MethodImplAttribute.cs
- BadImageFormatException.cs
- ConnectionsZone.cs
- XPathNavigatorKeyComparer.cs
- RenderData.cs
- EmptyEnumerable.cs
- BinaryCommonClasses.cs
- WebBrowserContainer.cs
- RuntimeHelpers.cs
- TCEAdapterGenerator.cs
- CommonGetThemePartSize.cs
- ButtonColumn.cs
- TdsEnums.cs
- Stroke.cs
- SymbolPair.cs
- ConnectivityStatus.cs
- ClientSponsor.cs
- ResolveMatchesApril2005.cs
- ExpressionPrefixAttribute.cs
- ComponentGlyph.cs
- JsonServiceDocumentSerializer.cs
- SimpleApplicationHost.cs
- DataSourceHelper.cs
- CellRelation.cs