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
- SqlSelectClauseBuilder.cs
- NetworkInformationException.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- SingleSelectRootGridEntry.cs
- SmiEventSink_DeferedProcessing.cs
- ArgumentException.cs
- WindowsGraphics2.cs
- Application.cs
- SQlBooleanStorage.cs
- MembershipSection.cs
- ClosableStream.cs
- InfoCardAsymmetricCrypto.cs
- SymLanguageType.cs
- CrossSiteScriptingValidation.cs
- DocumentApplicationJournalEntryEventArgs.cs
- FlowLayoutPanelDesigner.cs
- ActiveXHelper.cs
- CacheMemory.cs
- BindingOperations.cs
- WhiteSpaceTrimStringConverter.cs
- GetKeyedHashRequest.cs
- OleDbEnumerator.cs
- HttpModuleAction.cs
- PageStatePersister.cs
- TextEndOfParagraph.cs
- XmlSchemaSet.cs
- InstanceHandleConflictException.cs
- RadioButtonBaseAdapter.cs
- UInt32.cs
- Style.cs
- DataMemberFieldConverter.cs
- SqlCacheDependencySection.cs
- ExtenderProviderService.cs
- HebrewNumber.cs
- ReceiveMessageContent.cs
- LinqDataSourceStatusEventArgs.cs
- RepeatBehaviorConverter.cs
- ViewPort3D.cs
- RegexCompiler.cs
- MemoryRecordBuffer.cs
- Keywords.cs
- AllMembershipCondition.cs
- DXD.cs
- DrawingContextDrawingContextWalker.cs
- QueryAccessibilityHelpEvent.cs
- HttpApplication.cs
- DBSqlParserTable.cs
- DetailsViewActionList.cs
- WindowsRichEdit.cs
- CommandDevice.cs
- DataBoundControl.cs
- MobileListItem.cs
- MenuItem.cs
- SqlConnectionPoolGroupProviderInfo.cs
- IntersectQueryOperator.cs
- ConnectionPool.cs
- StringComparer.cs
- InternalSafeNativeMethods.cs
- CounterSample.cs
- LongTypeConverter.cs
- Renderer.cs
- AccessDataSource.cs
- ObservableDictionary.cs
- TypeForwardedToAttribute.cs
- AnnotationObservableCollection.cs
- StreamAsIStream.cs
- EventLevel.cs
- UnknownWrapper.cs
- DiscoveryDocumentSearchPattern.cs
- RenderData.cs
- SoapTypeAttribute.cs
- Decimal.cs
- OAVariantLib.cs
- TiffBitmapEncoder.cs
- DefaultAssemblyResolver.cs
- FontUnitConverter.cs
- HashAlgorithm.cs
- AsyncResult.cs
- MsmqIntegrationChannelListener.cs
- InvalidFilterCriteriaException.cs
- ConstraintEnumerator.cs
- ToolStripDropDownItem.cs
- TextLine.cs
- SqlReferenceCollection.cs
- ScalarType.cs
- BamlLocalizableResource.cs
- DesignTimeTemplateParser.cs
- Graphics.cs
- PrintDialog.cs
- WeakReferenceEnumerator.cs
- SystemColors.cs
- VirtualPathUtility.cs
- LinkLabelLinkClickedEvent.cs
- Image.cs
- Regex.cs
- RoleManagerEventArgs.cs
- FloaterBaseParaClient.cs
- LinearGradientBrush.cs
- HighContrastHelper.cs
- ComponentChangingEvent.cs