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
- EventLogReader.cs
- WCFModelStrings.Designer.cs
- SystemFonts.cs
- ObjectTypeMapping.cs
- DataServiceProcessingPipelineEventArgs.cs
- TableLayoutPanel.cs
- DataSourceListEditor.cs
- CanonicalFontFamilyReference.cs
- PositiveTimeSpanValidator.cs
- AsyncResult.cs
- ExceptionWrapper.cs
- UrlEncodedParameterWriter.cs
- EncryptedPackage.cs
- DummyDataSource.cs
- ObjectDisposedException.cs
- SafeBitVector32.cs
- QilGeneratorEnv.cs
- Exception.cs
- SimpleFieldTemplateUserControl.cs
- Viewport3DVisual.cs
- DocumentPageHost.cs
- PolicyStatement.cs
- EraserBehavior.cs
- BufferedConnection.cs
- NativeMethods.cs
- TdsEnums.cs
- EndpointInfo.cs
- DictionaryBase.cs
- SqlClientWrapperSmiStream.cs
- TypeReference.cs
- PermissionToken.cs
- ImpersonationContext.cs
- TypePresenter.xaml.cs
- EditorPartCollection.cs
- SmtpNegotiateAuthenticationModule.cs
- TextTreeRootTextBlock.cs
- AssemblyGen.cs
- pingexception.cs
- ProcessHost.cs
- BoundConstants.cs
- ApplicationBuildProvider.cs
- SourceElementsCollection.cs
- Configuration.cs
- Process.cs
- ToolboxControl.cs
- Camera.cs
- Effect.cs
- TypeListConverter.cs
- Compress.cs
- HttpProxyTransportBindingElement.cs
- OletxVolatileEnlistment.cs
- WorkerRequest.cs
- SiteMap.cs
- PartialCachingAttribute.cs
- Selector.cs
- CallTemplateAction.cs
- KeySpline.cs
- AssertFilter.cs
- sortedlist.cs
- StateWorkerRequest.cs
- IPGlobalProperties.cs
- BuildProviderAppliesToAttribute.cs
- ServerValidateEventArgs.cs
- XmlEntity.cs
- AutoGeneratedFieldProperties.cs
- TemplateNodeContextMenu.cs
- ReverseComparer.cs
- XmlSchemaAnnotation.cs
- WebPartMinimizeVerb.cs
- StrokeSerializer.cs
- TextStore.cs
- TransportConfigurationTypeElement.cs
- Pkcs9Attribute.cs
- MutexSecurity.cs
- ChildChangedEventArgs.cs
- SelectionListDesigner.cs
- ObjectStateManager.cs
- Annotation.cs
- _IPv6Address.cs
- AsynchronousChannelMergeEnumerator.cs
- CommandHelpers.cs
- Opcode.cs
- CacheForPrimitiveTypes.cs
- EmptyImpersonationContext.cs
- HotSpotCollection.cs
- ExpressionNormalizer.cs
- WebPartTransformer.cs
- IntSecurity.cs
- BitmapImage.cs
- StatusBarPanelClickEvent.cs
- RealizationContext.cs
- MethodExpr.cs
- SecurityAttributeGenerationHelper.cs
- Panel.cs
- DataGridSortCommandEventArgs.cs
- HtmlWindow.cs
- FormViewDeletedEventArgs.cs
- ReadOnlyHierarchicalDataSourceView.cs
- ResourceWriter.cs
- SerialStream.cs