Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Media / mediaeventargs.cs / 1305600 / 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
- FormClosingEvent.cs
- Base64Decoder.cs
- MultiPropertyDescriptorGridEntry.cs
- Int32CollectionValueSerializer.cs
- XamlUtilities.cs
- SymmetricAlgorithm.cs
- QuaternionAnimationUsingKeyFrames.cs
- GroupBox.cs
- PathSegmentCollection.cs
- DbConnectionStringCommon.cs
- EditorPart.cs
- IncrementalHitTester.cs
- DataBinder.cs
- InputLanguageEventArgs.cs
- MexBindingBindingCollectionElement.cs
- _AutoWebProxyScriptWrapper.cs
- EventWaitHandleSecurity.cs
- RunWorkerCompletedEventArgs.cs
- CommandSet.cs
- Renderer.cs
- DecoderNLS.cs
- SignatureSummaryDialog.cs
- TaskDesigner.cs
- TreeNodeStyleCollection.cs
- ResourceReader.cs
- GC.cs
- ObjectContext.cs
- DateTimeUtil.cs
- SmtpDigestAuthenticationModule.cs
- LinqDataView.cs
- SqlHelper.cs
- ProcessStartInfo.cs
- SimplePropertyEntry.cs
- WmlLabelAdapter.cs
- Subtree.cs
- TdsParser.cs
- GenericPrincipal.cs
- DataGridTableCollection.cs
- Button.cs
- ProcessInfo.cs
- SQLBytesStorage.cs
- ACE.cs
- TextServicesManager.cs
- IPCCacheManager.cs
- SmiEventSink_DeferedProcessing.cs
- SchemaAttDef.cs
- HttpListener.cs
- PixelShader.cs
- TableItemPatternIdentifiers.cs
- Part.cs
- GroupItem.cs
- DockEditor.cs
- FilterRepeater.cs
- DataTemplateKey.cs
- RadialGradientBrush.cs
- SqlDataSource.cs
- OverflowException.cs
- MemberAccessException.cs
- BinaryMessageFormatter.cs
- EpmHelper.cs
- XamlClipboardData.cs
- PowerEase.cs
- TCPClient.cs
- RegexMatchCollection.cs
- _LocalDataStore.cs
- NavigatorInput.cs
- XsdBuilder.cs
- XhtmlConformanceSection.cs
- ObjectDataSourceView.cs
- XmlNavigatorFilter.cs
- InternalConfigConfigurationFactory.cs
- ObjectContext.cs
- NullableDecimalMinMaxAggregationOperator.cs
- FontWeight.cs
- DbDataAdapter.cs
- ColumnResizeUndoUnit.cs
- ComplexPropertyEntry.cs
- bidPrivateBase.cs
- CompilerWrapper.cs
- WebServiceParameterData.cs
- DispatcherOperation.cs
- DataControlField.cs
- XmlMemberMapping.cs
- X509Chain.cs
- PersonalizationDictionary.cs
- DataGridViewCellMouseEventArgs.cs
- ProviderBase.cs
- XamlTemplateSerializer.cs
- WebPartExportVerb.cs
- TextEditorParagraphs.cs
- CompositeTypefaceMetrics.cs
- WindowsButton.cs
- InitializingNewItemEventArgs.cs
- PropertyCollection.cs
- ProcessHostConfigUtils.cs
- GlyphsSerializer.cs
- TextSegment.cs
- FusionWrap.cs
- DependencySource.cs
- DataStreamFromComStream.cs