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
- ActivationServices.cs
- SortExpressionBuilder.cs
- ImageSource.cs
- NotSupportedException.cs
- ListBindingHelper.cs
- MouseButton.cs
- StackBuilderSink.cs
- TextTreeInsertElementUndoUnit.cs
- CodeDomSerializerBase.cs
- HotSpotCollectionEditor.cs
- StylusPointPropertyUnit.cs
- RectangleGeometry.cs
- FixedSOMElement.cs
- TdsEnums.cs
- hresults.cs
- COMException.cs
- ArgumentException.cs
- UIElementCollection.cs
- BitmapFrame.cs
- NativeMethods.cs
- WorkflowTransactionService.cs
- SqlComparer.cs
- ExclusiveTcpTransportManager.cs
- DotExpr.cs
- Debugger.cs
- SqlConnectionHelper.cs
- cryptoapiTransform.cs
- Table.cs
- PropertyGeneratedEventArgs.cs
- ControlBindingsCollection.cs
- StateWorkerRequest.cs
- IPipelineRuntime.cs
- FrameworkElement.cs
- WindowsIPAddress.cs
- CheckBoxField.cs
- ETagAttribute.cs
- XPathBinder.cs
- XmlEntity.cs
- EndpointPerformanceCounters.cs
- Transform.cs
- BitmapPalettes.cs
- SiteMapProvider.cs
- GeometryConverter.cs
- _SSPISessionCache.cs
- OleTxTransaction.cs
- NavigationProgressEventArgs.cs
- HuffModule.cs
- WebPartDisplayModeCancelEventArgs.cs
- ClosableStream.cs
- RangeValidator.cs
- JsonFaultDetail.cs
- BaseDataList.cs
- GradientStop.cs
- BaseDataListDesigner.cs
- XmlnsPrefixAttribute.cs
- WebPartConnectionsCancelVerb.cs
- ValidatorCompatibilityHelper.cs
- WaitHandle.cs
- UriTemplateEquivalenceComparer.cs
- OutputCacheProfileCollection.cs
- ApplicationSettingsBase.cs
- Activity.cs
- Vector3D.cs
- QilInvokeEarlyBound.cs
- DropDownList.cs
- RevocationPoint.cs
- ApplicationFileCodeDomTreeGenerator.cs
- WindowsMenu.cs
- CompiledRegexRunnerFactory.cs
- ArgumentNullException.cs
- TextEditorThreadLocalStore.cs
- PaintEvent.cs
- thaishape.cs
- TraceShell.cs
- EntityDataSourceSelectedEventArgs.cs
- InputScopeAttribute.cs
- NativeBuffer.cs
- _KerberosClient.cs
- ContainerControl.cs
- RoamingStoreFileUtility.cs
- StackOverflowException.cs
- SecurityTokenAuthenticator.cs
- WrapperEqualityComparer.cs
- RepeatBehaviorConverter.cs
- WsatConfiguration.cs
- _DigestClient.cs
- TextContainerChangedEventArgs.cs
- PackageRelationship.cs
- NumberSubstitution.cs
- HierarchicalDataBoundControl.cs
- QueryPageSettingsEventArgs.cs
- Validator.cs
- ToolStripSeparator.cs
- MergablePropertyAttribute.cs
- Visitors.cs
- ProfileGroupSettings.cs
- SqlWebEventProvider.cs
- TableRowGroupCollection.cs
- UiaCoreApi.cs
- RadioButtonRenderer.cs