Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Media / mediaeventargs.cs / 1305600 / 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
- HtmlInputText.cs
- FrameworkContentElementAutomationPeer.cs
- TripleDESCryptoServiceProvider.cs
- SpAudioStreamWrapper.cs
- MultilineStringConverter.cs
- Privilege.cs
- ProfileModule.cs
- WasNotInstalledException.cs
- TypeInitializationException.cs
- TableLayout.cs
- ControlAdapter.cs
- SmiContext.cs
- RequestCachePolicyConverter.cs
- TrackingStringDictionary.cs
- InvalidPipelineStoreException.cs
- InitializationEventAttribute.cs
- DeclaredTypeValidator.cs
- DefaultShape.cs
- SymLanguageVendor.cs
- cookiecontainer.cs
- SessionIDManager.cs
- XmlSchemaNotation.cs
- RecognitionEventArgs.cs
- XPathSelfQuery.cs
- IisTraceWebEventProvider.cs
- ServiceNameElement.cs
- WebServiceResponseDesigner.cs
- LinkedResource.cs
- CompressStream.cs
- ErrorFormatter.cs
- ResourcesBuildProvider.cs
- TypeListConverter.cs
- GridView.cs
- BaseHashHelper.cs
- Version.cs
- ProfileGroupSettingsCollection.cs
- XmlSchemaAttributeGroup.cs
- BaseTemplateBuildProvider.cs
- SqlClientWrapperSmiStream.cs
- AspNetHostingPermission.cs
- HttpServerVarsCollection.cs
- Size3DConverter.cs
- BooleanSwitch.cs
- AsynchronousChannelMergeEnumerator.cs
- _emptywebproxy.cs
- MetafileHeaderWmf.cs
- SiteMapNode.cs
- XmlLinkedNode.cs
- TrackBarRenderer.cs
- SelectedDatesCollection.cs
- TextRange.cs
- RadioButtonFlatAdapter.cs
- SoapAttributeAttribute.cs
- TypeExtensionConverter.cs
- ContentValidator.cs
- Oid.cs
- SessionPageStateSection.cs
- ConnectionStringsExpressionEditor.cs
- WindowsRichEdit.cs
- SingleKeyFrameCollection.cs
- SQLInt64Storage.cs
- AspNetHostingPermission.cs
- SoapObjectInfo.cs
- DataViewManager.cs
- XhtmlBasicImageAdapter.cs
- KeyValueInternalCollection.cs
- DataColumnPropertyDescriptor.cs
- DetailsViewDeleteEventArgs.cs
- TimelineClockCollection.cs
- OrderedHashRepartitionStream.cs
- SpoolingTaskBase.cs
- LinearGradientBrush.cs
- TriggerCollection.cs
- CompressionTransform.cs
- StaticTextPointer.cs
- Predicate.cs
- SearchForVirtualItemEventArgs.cs
- FrameworkContextData.cs
- TimestampInformation.cs
- ServiceDescriptionSerializer.cs
- DisplayInformation.cs
- FixedSOMTable.cs
- FlowLayout.cs
- XmlDataSourceView.cs
- dataprotectionpermissionattribute.cs
- IInstanceContextProvider.cs
- ZipIOFileItemStream.cs
- TextRangeSerialization.cs
- ImageMetadata.cs
- QueryCursorEventArgs.cs
- FixedTextPointer.cs
- TextDecoration.cs
- TemplateBamlTreeBuilder.cs
- BrowserCapabilitiesFactory.cs
- WebPartConnectionsConfigureVerb.cs
- ViewUtilities.cs
- BitmapPalettes.cs
- SoapReflector.cs
- FontUnit.cs
- TransformPatternIdentifiers.cs