Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / wpf / src / Core / CSharp / 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. //------------------------------------------------------------------------------ // 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
- DeclarativeCatalogPart.cs
- CommandHelpers.cs
- ProfileBuildProvider.cs
- FilteredAttributeCollection.cs
- ProcessHost.cs
- ProxyManager.cs
- AnnotationStore.cs
- LambdaCompiler.Logical.cs
- UserControl.cs
- DirectoryNotFoundException.cs
- ToolStripSeparatorRenderEventArgs.cs
- MouseEventArgs.cs
- RemoteWebConfigurationHost.cs
- Group.cs
- _OSSOCK.cs
- ReadOnlyNameValueCollection.cs
- EllipseGeometry.cs
- InkCanvasAutomationPeer.cs
- ToolStripPanel.cs
- DispatcherExceptionEventArgs.cs
- SelectionItemProviderWrapper.cs
- BinarySerializer.cs
- TransformationRules.cs
- StyleXamlTreeBuilder.cs
- TabletCollection.cs
- NotifyInputEventArgs.cs
- DataSourceView.cs
- DodSequenceMerge.cs
- PersonalizationStateInfo.cs
- CheckPair.cs
- Vector3DCollectionConverter.cs
- XPathDocumentBuilder.cs
- CallId.cs
- SafeTokenHandle.cs
- CookieParameter.cs
- FileDialog.cs
- NetworkCredential.cs
- CallbackHandler.cs
- CryptoHelper.cs
- MarkupCompiler.cs
- RangeEnumerable.cs
- Effect.cs
- BuildProvider.cs
- DataBindEngine.cs
- ListViewGroupCollectionEditor.cs
- PolyQuadraticBezierSegment.cs
- AnnotationMap.cs
- FloatUtil.cs
- BrowserCapabilitiesCompiler.cs
- EntityModelBuildProvider.cs
- Column.cs
- Stack.cs
- AssemblySettingAttributes.cs
- TextPatternIdentifiers.cs
- DmlSqlGenerator.cs
- contentDescriptor.cs
- ReverseInheritProperty.cs
- HtmlShimManager.cs
- BatchWriter.cs
- ColumnReorderedEventArgs.cs
- AccessedThroughPropertyAttribute.cs
- DurableServiceAttribute.cs
- NullableDecimalSumAggregationOperator.cs
- WorkflowInstanceExtensionManager.cs
- prefixendpointaddressmessagefilter.cs
- SQLSingleStorage.cs
- TouchEventArgs.cs
- XmlUtilWriter.cs
- MenuItemStyle.cs
- WebProxyScriptElement.cs
- SelfIssuedAuthRSACryptoProvider.cs
- StateMachine.cs
- StringUtil.cs
- VisualStyleInformation.cs
- FloatMinMaxAggregationOperator.cs
- CursorConverter.cs
- PenThreadPool.cs
- CodeLabeledStatement.cs
- URLString.cs
- DataBinding.cs
- CacheMemory.cs
- SettingsSavedEventArgs.cs
- LoginUtil.cs
- RegexTree.cs
- SmtpTransport.cs
- XmlSchemaComplexContentRestriction.cs
- Boolean.cs
- GridToolTip.cs
- NTAccount.cs
- ToolStripItemTextRenderEventArgs.cs
- JsonReaderDelegator.cs
- HttpRuntimeSection.cs
- EntitySqlQueryBuilder.cs
- Exceptions.cs
- TableLayoutPanel.cs
- SignatureHelper.cs
- WithStatement.cs
- DoubleAnimation.cs
- WebPartHelpVerb.cs
- ParallelEnumerableWrapper.cs