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
- XamlReaderHelper.cs
- WebCategoryAttribute.cs
- ScriptReferenceBase.cs
- AssemblyBuilder.cs
- CodeMethodReturnStatement.cs
- ColumnWidthChangingEvent.cs
- ReliableSessionElement.cs
- OrderByBuilder.cs
- XmlQuerySequence.cs
- SendingRequestEventArgs.cs
- externdll.cs
- SafePointer.cs
- ThrowHelper.cs
- IEnumerable.cs
- SystemUdpStatistics.cs
- BoundPropertyEntry.cs
- MemoryRecordBuffer.cs
- ResourcePropertyMemberCodeDomSerializer.cs
- SwitchAttribute.cs
- RequestQueue.cs
- DetailsView.cs
- TypeBrowserDialog.cs
- PropertyGridCommands.cs
- SQLInt64Storage.cs
- DbConnectionPoolIdentity.cs
- Thread.cs
- CompositeDataBoundControl.cs
- GenericTypeParameterConverter.cs
- SQLMoneyStorage.cs
- FixedSOMTableRow.cs
- SqlUDTStorage.cs
- UnmanagedMemoryStreamWrapper.cs
- ValidationSummaryDesigner.cs
- StrokeDescriptor.cs
- QuadraticBezierSegment.cs
- DrawListViewSubItemEventArgs.cs
- PtsHost.cs
- COM2FontConverter.cs
- Propagator.Evaluator.cs
- ParallelLoopState.cs
- InvalidContentTypeException.cs
- AddInDeploymentState.cs
- CompilationRelaxations.cs
- XmlSchemaSimpleType.cs
- TrackingQueryElement.cs
- FirewallWrapper.cs
- TriState.cs
- ManagedFilter.cs
- CalendarDay.cs
- DataSourceHelper.cs
- TextElementCollectionHelper.cs
- CompilerCollection.cs
- CustomErrorCollection.cs
- DecimalStorage.cs
- ToolStripEditorManager.cs
- HttpModulesSection.cs
- ListItemParagraph.cs
- SystemIPAddressInformation.cs
- QueryComponents.cs
- DataControlFieldHeaderCell.cs
- DeviceContexts.cs
- NumberAction.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- UnsafeNativeMethods.cs
- wmiprovider.cs
- NTAccount.cs
- GlyphInfoList.cs
- SqlVisitor.cs
- ContextProperty.cs
- Pkcs7Recipient.cs
- RepeatBehaviorConverter.cs
- ResourceDisplayNameAttribute.cs
- WithStatement.cs
- XsdDataContractImporter.cs
- VScrollBar.cs
- RequestNavigateEventArgs.cs
- TraceLog.cs
- FormViewUpdatedEventArgs.cs
- FontSizeConverter.cs
- Transform3DGroup.cs
- TextServicesProperty.cs
- PseudoWebRequest.cs
- ContentPosition.cs
- CalendarDataBindingHandler.cs
- WebPartConnectionsDisconnectVerb.cs
- CodeCastExpression.cs
- SerializationStore.cs
- PackWebRequest.cs
- ServiceMemoryGates.cs
- xsdvalidator.cs
- ProtocolViolationException.cs
- ToolStripRendererSwitcher.cs
- ChannelDispatcher.cs
- SEHException.cs
- System.Data.OracleClient_BID.cs
- XmlElementAttribute.cs
- MultipleViewPattern.cs
- XmlLinkedNode.cs
- Oid.cs
- ClientRolePrincipal.cs