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
- NTAccount.cs
- SqlDataSource.cs
- DataGridViewCellMouseEventArgs.cs
- Accessible.cs
- FileUtil.cs
- ImageField.cs
- ListenerElementsCollection.cs
- AutoResizedEvent.cs
- ServiceModelInstallComponent.cs
- XmlDocumentViewSchema.cs
- UriGenerator.cs
- PersonalizablePropertyEntry.cs
- HuffmanTree.cs
- DeferredReference.cs
- RepeaterCommandEventArgs.cs
- WebException.cs
- UInt64Storage.cs
- CfgArc.cs
- HuffCodec.cs
- ToolStripItemCollection.cs
- WebPartHelpVerb.cs
- HtmlInputRadioButton.cs
- AutoGeneratedFieldProperties.cs
- ThreadInterruptedException.cs
- BlockingCollection.cs
- InfoCardCryptoHelper.cs
- DetailsViewDeletedEventArgs.cs
- _ShellExpression.cs
- RadioButton.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- ErrorFormatter.cs
- ObjectDisposedException.cs
- ContentPresenter.cs
- PackageDigitalSignature.cs
- RangeValueProviderWrapper.cs
- DataServiceHostFactory.cs
- RelationshipConverter.cs
- XmlSerializerSection.cs
- GradientStopCollection.cs
- MessageHeaders.cs
- ContractMapping.cs
- WebPartConnectionsCancelVerb.cs
- RouteCollection.cs
- PackageDigitalSignature.cs
- ObjectDataSourceChooseTypePanel.cs
- XslTransform.cs
- UIElementParagraph.cs
- WebPartTransformerAttribute.cs
- AlternateViewCollection.cs
- ManipulationStartedEventArgs.cs
- InstanceNormalEvent.cs
- HyperLinkColumn.cs
- PublishLicense.cs
- EnumBuilder.cs
- TableProviderWrapper.cs
- TrackingExtract.cs
- Knowncolors.cs
- MessageEventSubscriptionService.cs
- ProxyHelper.cs
- CompilerError.cs
- RichTextBox.cs
- CustomError.cs
- ComboBox.cs
- SHA384.cs
- WebPartDisplayMode.cs
- LongValidator.cs
- Normalization.cs
- X509ChainPolicy.cs
- PropertyEmitter.cs
- GenericUriParser.cs
- PackUriHelper.cs
- DataSourceCacheDurationConverter.cs
- CodePageEncoding.cs
- PropertyEntry.cs
- CollectionViewGroupRoot.cs
- SqlDataSourceConfigureSortForm.cs
- PackageStore.cs
- ObjectKeyFrameCollection.cs
- TreeViewDesigner.cs
- XPathPatternParser.cs
- DataServiceQueryException.cs
- EffectiveValueEntry.cs
- XamlReaderHelper.cs
- DataGridLinkButton.cs
- WinEventTracker.cs
- Scripts.cs
- control.ime.cs
- BitStack.cs
- InstanceDataCollectionCollection.cs
- ListItemsCollectionEditor.cs
- DetailsViewPageEventArgs.cs
- AdornerDecorator.cs
- CatalogZone.cs
- WizardPanel.cs
- ResourceContainer.cs
- DataSourceBooleanViewSchemaConverter.cs
- TextTrailingWordEllipsis.cs
- SqlDataReaderSmi.cs
- SiteMapDataSourceView.cs
- UIElementHelper.cs