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
- ScaleTransform3D.cs
- LogSwitch.cs
- Cursor.cs
- WindowsSolidBrush.cs
- BulletedListEventArgs.cs
- OdbcError.cs
- Part.cs
- DropShadowEffect.cs
- SafePipeHandle.cs
- MonikerSyntaxException.cs
- QualificationDataAttribute.cs
- coordinatorfactory.cs
- GlobalItem.cs
- GetMemberBinder.cs
- ConvertersCollection.cs
- wgx_commands.cs
- LinkDesigner.cs
- CallSiteBinder.cs
- ForEach.cs
- CodeDOMUtility.cs
- ConfigXmlComment.cs
- Calendar.cs
- ListControlConvertEventArgs.cs
- StatusBar.cs
- Exceptions.cs
- DispatcherTimer.cs
- DependencyObjectPropertyDescriptor.cs
- StorageAssociationTypeMapping.cs
- coordinator.cs
- CryptoApi.cs
- XmlSignificantWhitespace.cs
- EntityDataSourceView.cs
- SignedPkcs7.cs
- SessionPageStatePersister.cs
- PnrpPermission.cs
- BoolExpressionVisitors.cs
- ConfigurationProperty.cs
- SmiEventStream.cs
- CompiledQuery.cs
- DropDownButton.cs
- PostBackOptions.cs
- SecureStringHasher.cs
- messageonlyhwndwrapper.cs
- ProgressBarAutomationPeer.cs
- SqlDataSourceCache.cs
- TargetControlTypeAttribute.cs
- VBIdentifierName.cs
- BufferAllocator.cs
- EmptyStringExpandableObjectConverter.cs
- UrlPath.cs
- SerTrace.cs
- ChangeBlockUndoRecord.cs
- MergeFilterQuery.cs
- DoubleLinkListEnumerator.cs
- XPathNavigatorKeyComparer.cs
- QueryAccessibilityHelpEvent.cs
- WriteableBitmap.cs
- WindowAutomationPeer.cs
- SqlTransaction.cs
- StorageInfo.cs
- Message.cs
- LOSFormatter.cs
- ComboBoxAutomationPeer.cs
- EntityDataSourceWrapper.cs
- Privilege.cs
- _ShellExpression.cs
- CodePropertyReferenceExpression.cs
- SupportedAddressingMode.cs
- GridViewColumnCollection.cs
- BasicViewGenerator.cs
- FileLogRecordHeader.cs
- PersistenceParticipant.cs
- RelatedPropertyManager.cs
- SQLStringStorage.cs
- LinearGradientBrush.cs
- DbConnectionPoolGroup.cs
- ConnectivityStatus.cs
- NativeObjectSecurity.cs
- PlatformNotSupportedException.cs
- GPPOINT.cs
- HttpHandlerAction.cs
- SHA384Managed.cs
- ButtonChrome.cs
- BasicCommandTreeVisitor.cs
- ElementMarkupObject.cs
- DateTimeParse.cs
- Geometry.cs
- _NtlmClient.cs
- SchemaImporterExtensionsSection.cs
- TextClipboardData.cs
- DataGridViewRowsAddedEventArgs.cs
- XslTransformFileEditor.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- SuppressIldasmAttribute.cs
- DataControlImageButton.cs
- WebServiceHostFactory.cs
- ImageFormatConverter.cs
- RoutingUtilities.cs
- UndirectedGraph.cs
- TextServicesCompartment.cs