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
- SerializationInfo.cs
- PixelFormat.cs
- RealizedColumnsBlock.cs
- CollectionBuilder.cs
- WindowsListViewScroll.cs
- RSAPKCS1KeyExchangeFormatter.cs
- EventManager.cs
- FullTextBreakpoint.cs
- SelectorAutomationPeer.cs
- ModulesEntry.cs
- Model3D.cs
- FrameDimension.cs
- DiscardableAttribute.cs
- ResourceReferenceExpression.cs
- FileIOPermission.cs
- KnownBoxes.cs
- EncodingNLS.cs
- VectorAnimationBase.cs
- ThemeableAttribute.cs
- AnimationLayer.cs
- FixedElement.cs
- LockedBorderGlyph.cs
- RadioButtonStandardAdapter.cs
- FileSystemEventArgs.cs
- PLINQETWProvider.cs
- coordinatorscratchpad.cs
- Vector3DCollectionConverter.cs
- ResourceType.cs
- CachedBitmap.cs
- DataGridViewCellContextMenuStripNeededEventArgs.cs
- AdRotator.cs
- DesignerDataView.cs
- TableLayout.cs
- ResourceReferenceExpression.cs
- IndexedGlyphRun.cs
- UdpConstants.cs
- RtfToXamlLexer.cs
- Literal.cs
- PerformanceCounterPermissionEntry.cs
- PerformanceCounterPermissionEntryCollection.cs
- StrongName.cs
- DecoderExceptionFallback.cs
- StorageMappingItemLoader.cs
- NativeMethods.cs
- DataGridBoolColumn.cs
- IdSpace.cs
- Renderer.cs
- Object.cs
- WebCategoryAttribute.cs
- validation.cs
- MetadataArtifactLoaderFile.cs
- LeaseManager.cs
- ClientType.cs
- listitem.cs
- IdentityHolder.cs
- CallbackHandler.cs
- AddInBase.cs
- StandardCommands.cs
- WebPartAddingEventArgs.cs
- MultiAsyncResult.cs
- Image.cs
- TimerElapsedEvenArgs.cs
- SoapAttributeAttribute.cs
- SecurityException.cs
- ColorConverter.cs
- RelatedCurrencyManager.cs
- Events.cs
- HostedHttpRequestAsyncResult.cs
- SessionStateModule.cs
- RequestStatusBarUpdateEventArgs.cs
- ApplicationFileCodeDomTreeGenerator.cs
- EventLogConfiguration.cs
- TableParaClient.cs
- linebase.cs
- RowsCopiedEventArgs.cs
- XmlCountingReader.cs
- HitTestParameters3D.cs
- XmlAttributeOverrides.cs
- DeferredSelectedIndexReference.cs
- DbUpdateCommandTree.cs
- ConfigurationManagerInternalFactory.cs
- control.ime.cs
- ProfessionalColors.cs
- DataMemberListEditor.cs
- MissingManifestResourceException.cs
- MethodBody.cs
- TraceListener.cs
- BinHexEncoder.cs
- ArgIterator.cs
- newinstructionaction.cs
- ResourcesBuildProvider.cs
- CustomCategoryAttribute.cs
- VoiceSynthesis.cs
- RegexRunner.cs
- DataGridViewCheckBoxCell.cs
- HotSpotCollection.cs
- ExpressionVisitor.cs
- ProfileModule.cs
- TextLineResult.cs
- loginstatus.cs