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
- RegularExpressionValidator.cs
- ResetableIterator.cs
- MonitoringDescriptionAttribute.cs
- ArithmeticException.cs
- IsolatedStorage.cs
- MenuStrip.cs
- ConfigurationPropertyCollection.cs
- SpAudioStreamWrapper.cs
- SourceFileBuildProvider.cs
- UnitySerializationHolder.cs
- ListBoxItemAutomationPeer.cs
- TypeLoadException.cs
- CacheModeValueSerializer.cs
- DoubleCollectionConverter.cs
- TraceUtility.cs
- GPPOINT.cs
- ProgressBarAutomationPeer.cs
- SQLDecimalStorage.cs
- LocalFileSettingsProvider.cs
- FormCollection.cs
- ResponseStream.cs
- TableCellCollection.cs
- PathSegmentCollection.cs
- documentation.cs
- ValueSerializerAttribute.cs
- DataObject.cs
- DesignConnectionCollection.cs
- _PooledStream.cs
- VirtualizedItemProviderWrapper.cs
- HScrollBar.cs
- SecurityContextSecurityTokenAuthenticator.cs
- CollectionEditorDialog.cs
- SmiSettersStream.cs
- CodeDirectionExpression.cs
- StringArrayConverter.cs
- FreezableDefaultValueFactory.cs
- HwndTarget.cs
- WebZone.cs
- AddValidationError.cs
- InputScopeManager.cs
- FormatterServices.cs
- SqlCrossApplyToCrossJoin.cs
- CodeConditionStatement.cs
- ContentElement.cs
- TraceUtils.cs
- Ppl.cs
- CompoundFileDeflateTransform.cs
- XmlException.cs
- MenuAutomationPeer.cs
- OpCopier.cs
- RegistryKey.cs
- UserControlAutomationPeer.cs
- AvTraceFormat.cs
- KeyBinding.cs
- _RegBlobWebProxyDataBuilder.cs
- ParseHttpDate.cs
- WindowsListViewScroll.cs
- HtmlValidatorAdapter.cs
- AttributeConverter.cs
- ResXResourceWriter.cs
- MatrixConverter.cs
- TransformedBitmap.cs
- EntityFrameworkVersions.cs
- MappedMetaModel.cs
- ContentPresenter.cs
- OperationAbortedException.cs
- ListControl.cs
- RelatedImageListAttribute.cs
- RegexCharClass.cs
- SerializationStore.cs
- Error.cs
- SecurityContextTokenCache.cs
- ExpressionList.cs
- ExpressionBuilderCollection.cs
- figurelengthconverter.cs
- SQLRoleProvider.cs
- IDictionary.cs
- CompilerError.cs
- LinkLabel.cs
- ISAPIApplicationHost.cs
- XmlSchemaException.cs
- WindowProviderWrapper.cs
- GlobalEventManager.cs
- DetailsViewModeEventArgs.cs
- ObjectDataSourceMethodEventArgs.cs
- FileEnumerator.cs
- NameSpaceEvent.cs
- EventSourceCreationData.cs
- Rule.cs
- View.cs
- TdsValueSetter.cs
- Rules.cs
- COM2ComponentEditor.cs
- Binding.cs
- SendingRequestEventArgs.cs
- DataColumnMapping.cs
- KeyedCollection.cs
- CommentEmitter.cs
- PersonalizablePropertyEntry.cs
- Highlights.cs