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
- ObjectConverter.cs
- SqlDataSource.cs
- SelectionList.cs
- SQLMembershipProvider.cs
- DefaultPropertyAttribute.cs
- BooleanFacetDescriptionElement.cs
- SmtpTransport.cs
- __Filters.cs
- NamespaceEmitter.cs
- DictionaryKeyPropertyAttribute.cs
- BindingMemberInfo.cs
- CryptoStream.cs
- TextFindEngine.cs
- serverconfig.cs
- AmbientProperties.cs
- DataGridAutoGeneratingColumnEventArgs.cs
- NativeMethods.cs
- XmlDownloadManager.cs
- IApplicationTrustManager.cs
- GetIndexBinder.cs
- RequestResponse.cs
- ContentWrapperAttribute.cs
- Monitor.cs
- FixedSOMLineCollection.cs
- RowSpanVector.cs
- BuildProviderCollection.cs
- ExtendedProtectionPolicyElement.cs
- ConnectionStringsExpressionEditor.cs
- XmlNamespaceMapping.cs
- GridViewRowPresenterBase.cs
- DataService.cs
- NumberFormatter.cs
- SwitchExpression.cs
- StaticSiteMapProvider.cs
- Token.cs
- EntityTransaction.cs
- PropertyMapper.cs
- ModelItemDictionary.cs
- FileSystemInfo.cs
- SessionPageStateSection.cs
- NetMsmqSecurityElement.cs
- BmpBitmapEncoder.cs
- PathFigure.cs
- LoopExpression.cs
- CodeGen.cs
- SoapTransportImporter.cs
- Composition.cs
- ConsumerConnectionPointCollection.cs
- DependencyObject.cs
- StrongName.cs
- PassportAuthenticationModule.cs
- DateTime.cs
- LabelEditEvent.cs
- FillRuleValidation.cs
- MediaContextNotificationWindow.cs
- TextAdaptor.cs
- RegexParser.cs
- ForEachAction.cs
- ChildrenQuery.cs
- StartUpEventArgs.cs
- XmlRawWriter.cs
- EnlistmentTraceIdentifier.cs
- SiteMapNodeItem.cs
- RenderOptions.cs
- XmlSerializableWriter.cs
- AdapterDictionary.cs
- NumericUpDownAccelerationCollection.cs
- ReadOnlyCollectionBase.cs
- DocumentCollection.cs
- RegexMatchCollection.cs
- ErrorReporting.cs
- Vector.cs
- UriSectionReader.cs
- ToolStripControlHost.cs
- ReferenceAssemblyAttribute.cs
- __FastResourceComparer.cs
- MSHTMLHost.cs
- TextSelection.cs
- EdmMember.cs
- SystemException.cs
- _IPv6Address.cs
- MediaScriptCommandRoutedEventArgs.cs
- NativeMethods.cs
- RegexNode.cs
- ProcessInfo.cs
- IgnoreSection.cs
- ContextStaticAttribute.cs
- CryptoKeySecurity.cs
- DataServiceConfiguration.cs
- StrongNameSignatureInformation.cs
- PersistChildrenAttribute.cs
- KeyPressEvent.cs
- AutoCompleteStringCollection.cs
- LeaseManager.cs
- OperatingSystemVersionCheck.cs
- WebPermission.cs
- RectangleHotSpot.cs
- HtmlInputButton.cs
- ImageFormatConverter.cs
- PathTooLongException.cs