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
- X509Certificate2Collection.cs
- Axis.cs
- ClassHandlersStore.cs
- GeneratedCodeAttribute.cs
- RegexWorker.cs
- DataGridLinkButton.cs
- BrushConverter.cs
- RightsManagementPermission.cs
- Decimal.cs
- HyperLinkField.cs
- SqlRowUpdatedEvent.cs
- ObjectViewListener.cs
- XmlUtilWriter.cs
- UInt16Storage.cs
- FileStream.cs
- CodeBlockBuilder.cs
- StorageSetMapping.cs
- TextServicesLoader.cs
- BitmapMetadata.cs
- AvtEvent.cs
- LocalIdCollection.cs
- IdentityReference.cs
- SoapExtensionImporter.cs
- MultilineStringConverter.cs
- ControlCachePolicy.cs
- ADRoleFactory.cs
- mongolianshape.cs
- ProviderBase.cs
- FramingChannels.cs
- OciHandle.cs
- SettingsAttributes.cs
- EdmError.cs
- ToolStripSystemRenderer.cs
- SqlRemoveConstantOrderBy.cs
- AnnotationAdorner.cs
- FixUp.cs
- GridProviderWrapper.cs
- MarkedHighlightComponent.cs
- DropShadowBitmapEffect.cs
- Instrumentation.cs
- ErrorTableItemStyle.cs
- XamlBuildTaskServices.cs
- dataprotectionpermission.cs
- UIElementAutomationPeer.cs
- NumberFormatInfo.cs
- JumpList.cs
- DataBindingExpressionBuilder.cs
- DomainUpDown.cs
- HttpTransportManager.cs
- ErrorWrapper.cs
- DeviceContext2.cs
- FileInfo.cs
- Fonts.cs
- ModuleBuilder.cs
- Wizard.cs
- WaitHandleCannotBeOpenedException.cs
- InternalPermissions.cs
- SerializableAttribute.cs
- ReflectionTypeLoadException.cs
- ToolStripDropDownButton.cs
- AuthenticationException.cs
- UpdateRecord.cs
- TypeUsage.cs
- StringSorter.cs
- DefaultTextStore.cs
- GregorianCalendarHelper.cs
- TextEditorThreadLocalStore.cs
- CDSsyncETWBCLProvider.cs
- RuleInfoComparer.cs
- OleDbRowUpdatingEvent.cs
- figurelengthconverter.cs
- UIElement.cs
- AssemblyInfo.cs
- JsonCollectionDataContract.cs
- PartialCachingControl.cs
- ContextMenu.cs
- XmlCDATASection.cs
- GuidConverter.cs
- Rectangle.cs
- GroupByExpressionRewriter.cs
- SelectionWordBreaker.cs
- ButtonChrome.cs
- StackOverflowException.cs
- RSAProtectedConfigurationProvider.cs
- WebPartTransformerAttribute.cs
- RefreshEventArgs.cs
- SecurityTokenResolver.cs
- CalculatedColumn.cs
- UnmanagedBitmapWrapper.cs
- DataGridViewCellValidatingEventArgs.cs
- NoneExcludedImageIndexConverter.cs
- DtdParser.cs
- URI.cs
- SafeViewOfFileHandle.cs
- AuthorizationPolicyTypeElement.cs
- ColorConvertedBitmap.cs
- LicenseContext.cs
- ErrorLog.cs
- GAC.cs
- TextAutomationPeer.cs