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
- CoreSwitches.cs
- CqlBlock.cs
- StorageTypeMapping.cs
- PackagePart.cs
- indexingfiltermarshaler.cs
- XPathDescendantIterator.cs
- SafeThreadHandle.cs
- ExtractedStateEntry.cs
- SmtpMail.cs
- TypeValidationEventArgs.cs
- Expressions.cs
- ActivityCodeGenerator.cs
- AuthenticationModulesSection.cs
- Label.cs
- DoubleCollectionValueSerializer.cs
- AssociationType.cs
- JsonCollectionDataContract.cs
- Codec.cs
- SystemIPInterfaceStatistics.cs
- ProcessStartInfo.cs
- DataGridViewElement.cs
- XmlDataProvider.cs
- CodeExpressionCollection.cs
- RegexRunner.cs
- FilteredDataSetHelper.cs
- FixedSOMPageElement.cs
- FastEncoderWindow.cs
- WizardDesigner.cs
- GestureRecognizer.cs
- ParallelTimeline.cs
- WebPartCancelEventArgs.cs
- ApplicationTrust.cs
- embossbitmapeffect.cs
- TextRenderer.cs
- TokenBasedSet.cs
- BulletedList.cs
- ParameterCollectionEditor.cs
- ColorConverter.cs
- IgnoreFileBuildProvider.cs
- ResourcePart.cs
- DesignerWithHeader.cs
- ConditionalExpression.cs
- ValueTypeFieldReference.cs
- shaperfactoryquerycacheentry.cs
- ConnectionStringsExpressionBuilder.cs
- TraceLevelStore.cs
- ArgumentException.cs
- PropertyMapper.cs
- PersonalizationProviderCollection.cs
- SocketException.cs
- ToolStripMenuItemCodeDomSerializer.cs
- RootProfilePropertySettingsCollection.cs
- OptimalBreakSession.cs
- itemelement.cs
- DesignerDataTable.cs
- mediapermission.cs
- IResourceProvider.cs
- ToolStripRendererSwitcher.cs
- MasterPageCodeDomTreeGenerator.cs
- StructuralType.cs
- DeclarativeCatalogPart.cs
- SendingRequestEventArgs.cs
- SchemaCollectionPreprocessor.cs
- RightsManagementManager.cs
- ListGeneralPage.cs
- DataGridViewComboBoxColumn.cs
- MD5CryptoServiceProvider.cs
- ToolStripDropDownClosedEventArgs.cs
- EventQueueState.cs
- FlowDocumentReader.cs
- DataSourceProvider.cs
- TableLayoutCellPaintEventArgs.cs
- PropertyGridEditorPart.cs
- WebPartsPersonalizationAuthorization.cs
- UInt64Converter.cs
- ISessionStateStore.cs
- XsltCompileContext.cs
- PrtCap_Public_Simple.cs
- TheQuery.cs
- SoapIncludeAttribute.cs
- HtmlGenericControl.cs
- ToolStripPanelRow.cs
- DefaultExpression.cs
- __Filters.cs
- DllNotFoundException.cs
- Descriptor.cs
- ConfigurationPropertyAttribute.cs
- XmlElement.cs
- MessageDirection.cs
- DirectoryLocalQuery.cs
- XNodeNavigator.cs
- WmlLiteralTextAdapter.cs
- XmlSchemaException.cs
- XmlNavigatorFilter.cs
- HealthMonitoringSection.cs
- MissingFieldException.cs
- EmbeddedMailObjectsCollection.cs
- ClientConfigurationSystem.cs
- XmlNavigatorFilter.cs
- InvalidEnumArgumentException.cs