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
- EventProvider.cs
- KnownTypes.cs
- XmlIterators.cs
- IPEndPointCollection.cs
- Cursor.cs
- LiteralTextParser.cs
- FormViewRow.cs
- DiscriminatorMap.cs
- ElementHostPropertyMap.cs
- MemberAccessException.cs
- DataSourceCache.cs
- RuleSettings.cs
- HttpHeaderCollection.cs
- CodeSubDirectory.cs
- ValueProviderWrapper.cs
- ControlTemplate.cs
- SystemThemeKey.cs
- HierarchicalDataBoundControlAdapter.cs
- formatstringdialog.cs
- NonClientArea.cs
- Stack.cs
- XPathNode.cs
- ClearCollection.cs
- IriParsingElement.cs
- CheckBox.cs
- DistinctQueryOperator.cs
- DetailsViewPageEventArgs.cs
- GB18030Encoding.cs
- cookieexception.cs
- ToolStripSettings.cs
- ConfigurationErrorsException.cs
- PathGradientBrush.cs
- PassportAuthentication.cs
- Timer.cs
- RepeaterItemCollection.cs
- ComponentEditorPage.cs
- XmlSubtreeReader.cs
- WinEventWrap.cs
- GeneralTransformCollection.cs
- AppDomainFactory.cs
- AxImporter.cs
- Tuple.cs
- FormView.cs
- DataControlFieldCollection.cs
- DropSource.cs
- CodeTypeDelegate.cs
- MemberProjectionIndex.cs
- ClientProxyGenerator.cs
- _LocalDataStore.cs
- DataGrid.cs
- MatrixAnimationUsingKeyFrames.cs
- WebPartChrome.cs
- Parser.cs
- AttachmentService.cs
- StylusPointProperties.cs
- PreviewPrintController.cs
- MouseActionValueSerializer.cs
- StorageInfo.cs
- SizeConverter.cs
- TemplatedMailWebEventProvider.cs
- MbpInfo.cs
- ByteStreamMessageUtility.cs
- ConnectionInterfaceCollection.cs
- ArgumentNullException.cs
- SortAction.cs
- CompiledXpathExpr.cs
- AddInBase.cs
- ServiceModelActivity.cs
- ToolBarOverflowPanel.cs
- XamlTypeMapper.cs
- IconBitmapDecoder.cs
- GenericWebPart.cs
- SynchronizationLockException.cs
- AliasGenerator.cs
- NumberEdit.cs
- SystemWebExtensionsSectionGroup.cs
- PageContent.cs
- XmlNamespaceMappingCollection.cs
- smtpconnection.cs
- DefaultShape.cs
- FileChangesMonitor.cs
- EntityDataSourceValidationException.cs
- ImageAutomationPeer.cs
- SpecialFolderEnumConverter.cs
- SchemaLookupTable.cs
- FormsAuthenticationCredentials.cs
- ServicesUtilities.cs
- EventLogPermissionEntry.cs
- PropertyMap.cs
- XmlText.cs
- PowerStatus.cs
- EncodingDataItem.cs
- DataServiceEntityAttribute.cs
- VisualStyleRenderer.cs
- WebControlToolBoxItem.cs
- CodeActivityMetadata.cs
- BufferAllocator.cs
- UInt32.cs
- Tokenizer.cs
- MembershipPasswordException.cs