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
- SolidColorBrush.cs
- TraceHandler.cs
- MediaSystem.cs
- UrlMappingsModule.cs
- CompensatableSequenceActivity.cs
- MimeBasePart.cs
- ControllableStoryboardAction.cs
- XmlTextAttribute.cs
- ISCIIEncoding.cs
- DictionarySectionHandler.cs
- WebPartsPersonalization.cs
- Freezable.cs
- RegexInterpreter.cs
- Stack.cs
- MetadataItemCollectionFactory.cs
- BitVector32.cs
- SqlWebEventProvider.cs
- Visual3DCollection.cs
- CryptographicAttribute.cs
- MethodImplAttribute.cs
- ChannelBinding.cs
- SiteMapNodeItemEventArgs.cs
- ReliabilityContractAttribute.cs
- IPGlobalProperties.cs
- RuntimeEnvironment.cs
- dbdatarecord.cs
- SafeArrayRankMismatchException.cs
- StringUtil.cs
- OdbcDataAdapter.cs
- DbProviderServices.cs
- SqlCrossApplyToCrossJoin.cs
- DocumentGrid.cs
- DllNotFoundException.cs
- WebPartEditorOkVerb.cs
- DbSetClause.cs
- AutoCompleteStringCollection.cs
- WindowsFormsLinkLabel.cs
- AccessibleObject.cs
- ProgressiveCrcCalculatingStream.cs
- ProfileModule.cs
- DataGridLinkButton.cs
- FlagsAttribute.cs
- MenuAdapter.cs
- TokenBasedSetEnumerator.cs
- SQLString.cs
- WebResourceUtil.cs
- ModifierKeysConverter.cs
- CommonRemoteMemoryBlock.cs
- SoapReflectionImporter.cs
- UserNameSecurityTokenProvider.cs
- DataGridViewTextBoxCell.cs
- PagesSection.cs
- DesignerRegionCollection.cs
- ClientCredentialsElement.cs
- ReadOnlyPropertyMetadata.cs
- HyperLinkField.cs
- LinkTarget.cs
- WsiProfilesElement.cs
- SqlCachedBuffer.cs
- ModelFunctionTypeElement.cs
- ResourcesChangeInfo.cs
- ToolboxDataAttribute.cs
- RenderContext.cs
- _NestedMultipleAsyncResult.cs
- UpdateDelegates.Generated.cs
- BulletedListDesigner.cs
- RowToParametersTransformer.cs
- CounterCreationDataCollection.cs
- LiteralLink.cs
- Memoizer.cs
- ObjectHandle.cs
- GroupItemAutomationPeer.cs
- LambdaExpression.cs
- StringValidatorAttribute.cs
- ObjectSecurity.cs
- CommandHelpers.cs
- ExpressionEvaluator.cs
- Grammar.cs
- DataBindingHandlerAttribute.cs
- UInt64Storage.cs
- FlowLayoutSettings.cs
- SQLDecimalStorage.cs
- AmbientProperties.cs
- OutputScopeManager.cs
- RegexCharClass.cs
- InputDevice.cs
- Int16Converter.cs
- CompilationPass2Task.cs
- WebServiceTypeData.cs
- EmptyControlCollection.cs
- TextBoxAutomationPeer.cs
- ZipIOFileItemStream.cs
- HuffCodec.cs
- FlowDocumentReader.cs
- PingOptions.cs
- FrameworkElementAutomationPeer.cs
- KeyManager.cs
- NetNamedPipeBinding.cs
- DelayedRegex.cs
- SkewTransform.cs