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
- EventSetterHandlerConverter.cs
- DataRelationCollection.cs
- PassportPrincipal.cs
- UnauthorizedWebPart.cs
- FixUpCollection.cs
- VisualTreeFlattener.cs
- FilterQueryOptionExpression.cs
- DataObjectEventArgs.cs
- Random.cs
- AutomationPropertyInfo.cs
- NotCondition.cs
- UrlMappingsSection.cs
- XmlIncludeAttribute.cs
- XamlFigureLengthSerializer.cs
- PassportAuthentication.cs
- ClockController.cs
- Transform3D.cs
- VirtualizingStackPanel.cs
- EventLogPermission.cs
- base64Transforms.cs
- ProfileManager.cs
- UIElementIsland.cs
- PartBasedPackageProperties.cs
- IndicFontClient.cs
- TailCallAnalyzer.cs
- RequestCacheManager.cs
- DataGridViewTextBoxEditingControl.cs
- UMPAttributes.cs
- HashHelpers.cs
- ContainerUIElement3D.cs
- ConfigXmlSignificantWhitespace.cs
- TypedDataSourceCodeGenerator.cs
- RequestCache.cs
- EnumType.cs
- EventLogWatcher.cs
- HostedHttpContext.cs
- RadioButton.cs
- InputQueue.cs
- NamespaceDisplay.xaml.cs
- RegexFCD.cs
- StructuralType.cs
- SafeNativeMethods.cs
- TrackingAnnotationCollection.cs
- ChangeDirector.cs
- Operand.cs
- AuthenticationException.cs
- EtwTrackingBehavior.cs
- RuntimeResourceSet.cs
- MenuItem.cs
- COM2TypeInfoProcessor.cs
- SoapFormatter.cs
- InkCanvas.cs
- IListConverters.cs
- SQlBooleanStorage.cs
- ExternalException.cs
- RowUpdatingEventArgs.cs
- DPTypeDescriptorContext.cs
- StyleCollection.cs
- HtmlObjectListAdapter.cs
- TextServicesHost.cs
- FixedTextView.cs
- DataGridState.cs
- WindowsAuthenticationModule.cs
- SQLGuid.cs
- PropertyCondition.cs
- DataGridViewAddColumnDialog.cs
- DetailsViewPagerRow.cs
- ParameterElement.cs
- PropertyGridView.cs
- CodeCatchClauseCollection.cs
- ObjectPersistData.cs
- WebPartConnectVerb.cs
- DataControlPagerLinkButton.cs
- CollectionBuilder.cs
- QilLiteral.cs
- DataBindingHandlerAttribute.cs
- ProfileModule.cs
- ThicknessAnimationUsingKeyFrames.cs
- ExtendLockCommand.cs
- CompModSwitches.cs
- DeclarationUpdate.cs
- ProcessModelInfo.cs
- SchemaTypeEmitter.cs
- BitmapMetadataEnumerator.cs
- EventSourceCreationData.cs
- GridPattern.cs
- Axis.cs
- DetailsViewRowCollection.cs
- OleDbParameter.cs
- TextBox.cs
- ThreadPool.cs
- Helpers.cs
- Registry.cs
- AnnotationResource.cs
- Switch.cs
- HoistedLocals.cs
- SimpleModelProvider.cs
- CqlBlock.cs
- XmlSchemaException.cs
- ActionMessageFilter.cs