Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ResourceDescriptionAttribute.cs
- CodeGenerator.cs
- PageParser.cs
- mactripleDES.cs
- ReferenceEqualityComparer.cs
- sqlstateclientmanager.cs
- MatrixTransform.cs
- SamlSecurityTokenAuthenticator.cs
- EncryptedPackage.cs
- WmlPageAdapter.cs
- GrammarBuilderPhrase.cs
- CompositionCommandSet.cs
- WhileDesigner.xaml.cs
- ApplicationActivator.cs
- DbUpdateCommandTree.cs
- UrlMapping.cs
- WebPartEditVerb.cs
- Keywords.cs
- AutoCompleteStringCollection.cs
- ServiceHostingEnvironment.cs
- SynchronizationFilter.cs
- DateBoldEvent.cs
- Encoder.cs
- AssemblyInfo.cs
- Image.cs
- BaseProcessProtocolHandler.cs
- Interlocked.cs
- WrapPanel.cs
- TailCallAnalyzer.cs
- TypeElement.cs
- StateBag.cs
- DataGridLinkButton.cs
- DataSourceDescriptorCollection.cs
- XmlAttributeCollection.cs
- ResourcePermissionBaseEntry.cs
- VectorCollection.cs
- AncillaryOps.cs
- SocketException.cs
- WindowsFormsHostAutomationPeer.cs
- List.cs
- Math.cs
- HelpProvider.cs
- SpecularMaterial.cs
- CommonXSendMessage.cs
- HttpConfigurationSystem.cs
- ColorContextHelper.cs
- HtmlElementErrorEventArgs.cs
- ErrorWrapper.cs
- HtmlTitle.cs
- MethodBody.cs
- Thumb.cs
- FragmentQueryProcessor.cs
- PopOutPanel.cs
- Button.cs
- InheritanceAttribute.cs
- DBAsyncResult.cs
- MasterPageBuildProvider.cs
- adornercollection.cs
- EditorAttribute.cs
- Convert.cs
- _DynamicWinsockMethods.cs
- PageFunction.cs
- DragEvent.cs
- AddInController.cs
- UrlPath.cs
- Size3DValueSerializer.cs
- xmlNames.cs
- MatrixTransform3D.cs
- CustomErrorsSectionWrapper.cs
- MarkedHighlightComponent.cs
- XmlResolver.cs
- CodeDirectionExpression.cs
- _AcceptOverlappedAsyncResult.cs
- ContainerParaClient.cs
- PropertyPathWorker.cs
- EntitySetBase.cs
- EncoderParameters.cs
- BinaryMessageEncoder.cs
- GeometryModel3D.cs
- MemoryStream.cs
- translator.cs
- DataGridColumn.cs
- ButtonChrome.cs
- Application.cs
- PropertyValueChangedEvent.cs
- Compiler.cs
- InvokePattern.cs
- ConnectionsZoneDesigner.cs
- SelectionRangeConverter.cs
- ItemCollection.cs
- ClockGroup.cs
- RootNamespaceAttribute.cs
- PolicyConversionContext.cs
- EndOfStreamException.cs
- PieceNameHelper.cs
- Attributes.cs
- XmlUrlEditor.cs
- TextBox.cs
- AstTree.cs
- ColumnResult.cs