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
- SqlParameterCollection.cs
- Brush.cs
- DataGridViewColumnDesigner.cs
- TypedTableHandler.cs
- Switch.cs
- ValidatedControlConverter.cs
- SymmetricKeyWrap.cs
- MouseActionConverter.cs
- ControlCodeDomSerializer.cs
- ADMembershipUser.cs
- ChangePassword.cs
- GAC.cs
- DescendantOverDescendantQuery.cs
- PaperSize.cs
- ExecutedRoutedEventArgs.cs
- wgx_render.cs
- MethodCallTranslator.cs
- Visual3D.cs
- InputScope.cs
- ScriptControlDescriptor.cs
- SHA384.cs
- DetailsViewCommandEventArgs.cs
- PropertyGeneratedEventArgs.cs
- FixUp.cs
- PeerUnsafeNativeMethods.cs
- PersonalizationProviderCollection.cs
- TraceUtility.cs
- WebPartsSection.cs
- GeneratedCodeAttribute.cs
- DetectEofStream.cs
- FormViewRow.cs
- PingOptions.cs
- PropertyFilter.cs
- BufferedGraphics.cs
- ClientTargetSection.cs
- CompiledQueryCacheKey.cs
- ReadOnlyPropertyMetadata.cs
- SqlDataSourceRefreshSchemaForm.cs
- While.cs
- altserialization.cs
- PlanCompiler.cs
- ExceptionTrace.cs
- CorruptingExceptionCommon.cs
- ValidationPropertyAttribute.cs
- AssemblyUtil.cs
- ReadOnlyDictionary.cs
- BitArray.cs
- SafeMemoryMappedViewHandle.cs
- URI.cs
- AdapterSwitches.cs
- XmlElementCollection.cs
- LinkDescriptor.cs
- ClassDataContract.cs
- HtmlMobileTextWriter.cs
- MailAddressCollection.cs
- _OSSOCK.cs
- RemotingServices.cs
- HttpHeaderCollection.cs
- PointConverter.cs
- AdornedElementPlaceholder.cs
- RegexGroup.cs
- Message.cs
- SymbolDocumentGenerator.cs
- UInt32Storage.cs
- System.Data_BID.cs
- ProcessHostConfigUtils.cs
- PrintDialogException.cs
- HtmlHead.cs
- OraclePermission.cs
- ThousandthOfEmRealDoubles.cs
- FormViewDeleteEventArgs.cs
- FormsAuthenticationUser.cs
- validationstate.cs
- ScriptControl.cs
- SerializationInfoEnumerator.cs
- RadioButtonBaseAdapter.cs
- Grammar.cs
- DataPagerCommandEventArgs.cs
- SharedPerformanceCounter.cs
- SynchronousChannelMergeEnumerator.cs
- PropertyTabAttribute.cs
- _SslState.cs
- AbandonedMutexException.cs
- MDIControlStrip.cs
- GetWinFXPath.cs
- Image.cs
- RadioButton.cs
- XmlHelper.cs
- RecordBuilder.cs
- MarshalDirectiveException.cs
- RegexCompilationInfo.cs
- BuildProviderInstallComponent.cs
- ParserExtension.cs
- ElementNotAvailableException.cs
- invalidudtexception.cs
- MultipleViewPatternIdentifiers.cs
- JavaScriptObjectDeserializer.cs
- MinimizableAttributeTypeConverter.cs
- IconBitmapDecoder.cs
- RotateTransform3D.cs