Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- SecurityElement.cs
- ColorTranslator.cs
- SqlClientMetaDataCollectionNames.cs
- HtmlInputPassword.cs
- SqlDelegatedTransaction.cs
- DataPagerFieldCommandEventArgs.cs
- Trigger.cs
- CodeDomConfigurationHandler.cs
- XmlSchemaComplexContent.cs
- AnimationStorage.cs
- Enum.cs
- NonceCache.cs
- TypeDependencyAttribute.cs
- CharacterBufferReference.cs
- HWStack.cs
- GPPOINT.cs
- StateManagedCollection.cs
- CalendarDay.cs
- TableLayoutPanel.cs
- SqlProviderManifest.cs
- DataGridAutoFormat.cs
- IgnoreSection.cs
- XmlAutoDetectWriter.cs
- DefaultHttpHandler.cs
- ConfigurationPropertyAttribute.cs
- MultiPageTextView.cs
- BamlResourceSerializer.cs
- DoubleStorage.cs
- DataControlImageButton.cs
- COM2Enum.cs
- Page.cs
- PolicyManager.cs
- OdbcDataAdapter.cs
- WebServiceReceiveDesigner.cs
- MouseActionConverter.cs
- PropertyInfoSet.cs
- UTF7Encoding.cs
- UniqueCodeIdentifierScope.cs
- CfgArc.cs
- DiffuseMaterial.cs
- ToolStripSystemRenderer.cs
- KeyedQueue.cs
- SafeReversePInvokeHandle.cs
- Storyboard.cs
- RTLAwareMessageBox.cs
- dsa.cs
- LayoutEngine.cs
- PageParserFilter.cs
- ValueTable.cs
- SaveRecipientRequest.cs
- HtmlContainerControl.cs
- AuthenticationModulesSection.cs
- HttpCacheParams.cs
- MaterializeFromAtom.cs
- TextEditorMouse.cs
- CharUnicodeInfo.cs
- IListConverters.cs
- SpecialTypeDataContract.cs
- DelegateSerializationHolder.cs
- ConnectionManagementElementCollection.cs
- FaultDescription.cs
- StatusStrip.cs
- bidPrivateBase.cs
- FrameworkElement.cs
- CompiledAction.cs
- Drawing.cs
- GAC.cs
- DateTimeConverter2.cs
- ListSortDescriptionCollection.cs
- EnumerableValidator.cs
- BaseProcessor.cs
- XmlTextReader.cs
- UnsafeNativeMethods.cs
- WebPartCatalogAddVerb.cs
- ImagingCache.cs
- DPAPIProtectedConfigurationProvider.cs
- ExportOptions.cs
- CompensatableTransactionScopeActivity.cs
- ResumeStoryboard.cs
- InvalidFilterCriteriaException.cs
- PageCache.cs
- DetailsViewRow.cs
- SizeAnimationClockResource.cs
- HttpRuntimeSection.cs
- GroupBoxAutomationPeer.cs
- DataBoundLiteralControl.cs
- CultureNotFoundException.cs
- ModulesEntry.cs
- TextTreeExtractElementUndoUnit.cs
- MaterialGroup.cs
- SoapDocumentServiceAttribute.cs
- MarkedHighlightComponent.cs
- CompoundFileStorageReference.cs
- PeerNameRecordCollection.cs
- PersonalizationProviderCollection.cs
- TextRangeBase.cs
- ReachFixedDocumentSerializerAsync.cs
- DNS.cs
- WaitHandle.cs
- ListChangedEventArgs.cs