Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / wpf / src / Core / CSharp / 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. //------------------------------------------------------------------------------ // 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
- QilFunction.cs
- ResXResourceSet.cs
- QueueSurrogate.cs
- Int32RectConverter.cs
- FullTextState.cs
- Events.cs
- DbProviderServices.cs
- ConfigurationSectionCollection.cs
- ServiceProviders.cs
- ToolboxItemImageConverter.cs
- controlskin.cs
- AttributeCollection.cs
- BidPrivateBase.cs
- SQLRoleProvider.cs
- Button.cs
- Point3DCollection.cs
- AuthenticateEventArgs.cs
- NodeFunctions.cs
- IOException.cs
- ClrPerspective.cs
- TabControlCancelEvent.cs
- SymbolDocumentGenerator.cs
- listitem.cs
- JsonSerializer.cs
- BitmapEffectDrawing.cs
- SmiContext.cs
- SecurityBindingElementImporter.cs
- SqlException.cs
- TCPClient.cs
- DelegatingMessage.cs
- XmlReaderSettings.cs
- SeparatorAutomationPeer.cs
- DataRowExtensions.cs
- CreateDataSourceDialog.cs
- ConfigUtil.cs
- HttpsChannelFactory.cs
- AndCondition.cs
- DataSet.cs
- TranslateTransform3D.cs
- EditorPartCollection.cs
- WizardForm.cs
- DynamicILGenerator.cs
- HttpsHostedTransportConfiguration.cs
- ElementNotAvailableException.cs
- Dynamic.cs
- CaseExpr.cs
- HTMLTextWriter.cs
- EntityDataSourceEntityTypeFilterItem.cs
- EdmComplexPropertyAttribute.cs
- ProtocolElementCollection.cs
- BrowserInteropHelper.cs
- DBSchemaTable.cs
- AsnEncodedData.cs
- BlobPersonalizationState.cs
- RequestDescription.cs
- ContextMenuStrip.cs
- ConstrainedDataObject.cs
- SelectionItemProviderWrapper.cs
- RepeaterItemCollection.cs
- SqlNamer.cs
- TextModifier.cs
- LocatorPartList.cs
- EntityDataSourceContainerNameConverter.cs
- MappingModelBuildProvider.cs
- DrawingContext.cs
- BamlRecordHelper.cs
- Base64Stream.cs
- TextBoxBase.cs
- RequestCachePolicyConverter.cs
- CombinedGeometry.cs
- HwndTarget.cs
- PersonalizationState.cs
- DbConnectionClosed.cs
- _ListenerAsyncResult.cs
- SingleConverter.cs
- AdornerHitTestResult.cs
- LocationChangedEventArgs.cs
- BoundColumn.cs
- SRGSCompiler.cs
- WebFaultException.cs
- SystemFonts.cs
- TableLayoutSettingsTypeConverter.cs
- LinqDataSourceDisposeEventArgs.cs
- RoleGroupCollection.cs
- CommandPlan.cs
- GeneralTransformGroup.cs
- AsyncResult.cs
- FunctionDescription.cs
- XmlProcessingInstruction.cs
- InternalBase.cs
- Selector.cs
- ErrorReporting.cs
- DiscoveryMessageSequenceCD1.cs
- InstanceContextManager.cs
- ColumnClickEvent.cs
- externdll.cs
- CompositeFontFamily.cs
- ZipIOExtraFieldPaddingElement.cs
- SQLBinary.cs
- DBParameter.cs