Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Core / System / Windows / Media / mediaeventargs.cs / 1 / mediaeventargs.cs
//------------------------------------------------------------------------------ // Microsoft Avalon // Copyright (c) Microsoft Corporation, 2003 // // File: mediaeventargs.cs // //----------------------------------------------------------------------------- using System; namespace System.Windows.Media { #region ExceptionEventArgs ////// arguments for media failure event handlers /// public sealed class ExceptionEventArgs : EventArgs { ////// Creates a new ExceptionEventArgs. /// /// Error Exception. internal ExceptionEventArgs(Exception errorException) : base() { if (errorException == null) { throw new ArgumentNullException("errorException"); } _errorException = errorException; } ////// Error Exception /// public Exception ErrorException { get { return _errorException; } } ////// Error exception data /// private Exception _errorException; }; #endregion #region MediaScriptCommandEventArgs ////// Arguments for any scripting commands associated with the media. /// public sealed class MediaScriptCommandEventArgs : EventArgs { ////// Creates a new MediaScriptCommandEventArgs. /// internal MediaScriptCommandEventArgs( string parameterType, string parameterValue ) : base() { if (parameterType == null) { throw new ArgumentNullException("parameterType"); } if (parameterValue == null) { throw new ArgumentNullException("parameterValue"); } _parameterType = parameterType; _parameterValue = parameterValue; } ////// The type of the script command. /// public String ParameterType { get { return _parameterType; } } ////// The parameter associated with the script command. /// public String ParameterValue { get { return _parameterValue; } } ////// The type of scripting command /// private string _parameterType; ////// The parameter associated with the script command. /// private string _parameterValue; } #endregion }; // 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
- UnsafeNativeMethods.cs
- BaseTemplateBuildProvider.cs
- UrlMappingCollection.cs
- WebScriptClientGenerator.cs
- ProxyHelper.cs
- Common.cs
- HtmlEmptyTagControlBuilder.cs
- ObjectReferenceStack.cs
- AnimationClockResource.cs
- StringValidatorAttribute.cs
- PasswordTextNavigator.cs
- EngineSiteSapi.cs
- LogicalExpr.cs
- PlainXmlWriter.cs
- Transform3D.cs
- ApplicationServiceManager.cs
- WebMessageEncodingBindingElement.cs
- WindowsListViewItem.cs
- BaseDataListComponentEditor.cs
- HttpHandlerActionCollection.cs
- WebServiceHandlerFactory.cs
- ReferencedCollectionType.cs
- TrackingMemoryStream.cs
- VariableQuery.cs
- SoapDocumentServiceAttribute.cs
- Pen.cs
- BaseCollection.cs
- AspNetSynchronizationContext.cs
- CompilerState.cs
- MultipartIdentifier.cs
- XPathNodeInfoAtom.cs
- SiteMapDataSourceView.cs
- FunctionDefinition.cs
- UIHelper.cs
- SslStream.cs
- XmlSerializationGeneratedCode.cs
- TextChangedEventArgs.cs
- FrameworkElementFactory.cs
- InfoCardXmlSerializer.cs
- Module.cs
- BitmapCacheBrush.cs
- DataBoundControlHelper.cs
- SmiContext.cs
- NumberFormatter.cs
- EndpointBehaviorElementCollection.cs
- CodeObject.cs
- DbModificationCommandTree.cs
- ServiceOperationInvoker.cs
- MemberMaps.cs
- ComponentConverter.cs
- ScrollBar.cs
- BackgroundWorker.cs
- QilParameter.cs
- WebPartZoneCollection.cs
- XsdDataContractExporter.cs
- LineUtil.cs
- XmlQualifiedNameTest.cs
- TextBoxBase.cs
- sortedlist.cs
- Message.cs
- ViewLoader.cs
- DataGridViewSelectedRowCollection.cs
- BasicKeyConstraint.cs
- DependencyProperty.cs
- SafeThreadHandle.cs
- RelationshipWrapper.cs
- DesignerActionItem.cs
- EllipticalNodeOperations.cs
- ProvidersHelper.cs
- XmlSchemaInfo.cs
- UIElementHelper.cs
- UIAgentInitializationException.cs
- KnownTypes.cs
- CrossContextChannel.cs
- BrowserDefinition.cs
- DifferencingCollection.cs
- PriorityBinding.cs
- FederatedMessageSecurityOverHttp.cs
- WebReference.cs
- DiscreteKeyFrames.cs
- RegionIterator.cs
- ConstructorBuilder.cs
- GridViewCancelEditEventArgs.cs
- RegisteredHiddenField.cs
- TypeUsageBuilder.cs
- ApplicationBuildProvider.cs
- SQLInt32.cs
- SqlDataRecord.cs
- TextBoxDesigner.cs
- Grant.cs
- IsolationInterop.cs
- SecurityDescriptor.cs
- ParserContext.cs
- XmlObjectSerializerWriteContextComplex.cs
- PropertyEmitter.cs
- GridViewEditEventArgs.cs
- PointConverter.cs
- ToolStripOverflow.cs
- RichTextBox.cs
- tooltip.cs