Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Base / System / Windows / Threading / DispatcherHookEventArgs.cs / 1305600 / DispatcherHookEventArgs.cs
namespace System.Windows.Threading
{
///
/// Additional information provided about a dispatcher.
///
public sealed class DispatcherHookEventArgs : EventArgs
{
///
/// Constructs an instance of the DispatcherHookEventArgs class.
///
///
/// The operation in question.
///
public DispatcherHookEventArgs(DispatcherOperation operation)
{
_operation = operation;
}
///
/// The dispatcher effected.
///
public Dispatcher Dispatcher
{
get
{
return _operation != null ? _operation.Dispatcher : null;
}
}
///
/// The operation effected.
///
public DispatcherOperation Operation
{
get
{
return _operation;
}
}
private DispatcherOperation _operation;
}
///
/// The handler for the DispatcherHookEventArgs.
///
public delegate void DispatcherHookEventHandler(object sender, DispatcherHookEventArgs e);
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
namespace System.Windows.Threading
{
///
/// Additional information provided about a dispatcher.
///
public sealed class DispatcherHookEventArgs : EventArgs
{
///
/// Constructs an instance of the DispatcherHookEventArgs class.
///
///
/// The operation in question.
///
public DispatcherHookEventArgs(DispatcherOperation operation)
{
_operation = operation;
}
///
/// The dispatcher effected.
///
public Dispatcher Dispatcher
{
get
{
return _operation != null ? _operation.Dispatcher : null;
}
}
///
/// The operation effected.
///
public DispatcherOperation Operation
{
get
{
return _operation;
}
}
private DispatcherOperation _operation;
}
///
/// The handler for the DispatcherHookEventArgs.
///
public delegate void DispatcherHookEventHandler(object sender, DispatcherHookEventArgs e);
}
// 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
- AutomationPeer.cs
- DrawingCollection.cs
- securitycriticaldata.cs
- DataServiceQuery.cs
- AsyncPostBackTrigger.cs
- DataGridViewCellPaintingEventArgs.cs
- FontDriver.cs
- BulletDecorator.cs
- SessionStateUtil.cs
- ExternalException.cs
- XmlSecureResolver.cs
- CapabilitiesRule.cs
- ReadContentAsBinaryHelper.cs
- CompositeDataBoundControl.cs
- InputEventArgs.cs
- NameValueSectionHandler.cs
- CryptoApi.cs
- EventProviderBase.cs
- namescope.cs
- CodeGeneratorOptions.cs
- XmlAnyElementAttributes.cs
- SyndicationDeserializer.cs
- HotSpotCollection.cs
- Operator.cs
- TransactionScopeDesigner.cs
- ExchangeUtilities.cs
- ReliableOutputConnection.cs
- AutomationIdentifierGuids.cs
- PhysicalAddress.cs
- InputMethodStateChangeEventArgs.cs
- PrefixHandle.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- X509CertificateEndpointIdentity.cs
- SchemaCollectionPreprocessor.cs
- GrowingArray.cs
- UserControlFileEditor.cs
- ContextMarshalException.cs
- TableLayoutSettingsTypeConverter.cs
- DataGridViewRow.cs
- ColorConverter.cs
- ComponentConverter.cs
- VectorCollection.cs
- ConfigurationProperty.cs
- LicenseContext.cs
- PriorityQueue.cs
- AvTraceFormat.cs
- BrowserTree.cs
- ClosableStream.cs
- CompressedStack.cs
- WindowsFont.cs
- ProtocolsConfigurationEntry.cs
- DataGridViewCellCollection.cs
- AliasedExpr.cs
- DoubleUtil.cs
- IInstanceTable.cs
- ToolbarAUtomationPeer.cs
- SqlNodeAnnotation.cs
- MdImport.cs
- MarkupProperty.cs
- AudioStateChangedEventArgs.cs
- DesignTimeSiteMapProvider.cs
- CLSCompliantAttribute.cs
- RegistryKey.cs
- ZipIOExtraFieldPaddingElement.cs
- Bidi.cs
- BufferedReceiveElement.cs
- SQLDecimalStorage.cs
- SQLBinaryStorage.cs
- FixedDocumentPaginator.cs
- AutoGeneratedField.cs
- ObjectDataSourceDisposingEventArgs.cs
- SafeRightsManagementEnvironmentHandle.cs
- CharEntityEncoderFallback.cs
- ExpressionEditorAttribute.cs
- DbModificationCommandTree.cs
- AlphabetConverter.cs
- ExceptionUtil.cs
- TypeNameConverter.cs
- HtmlInputSubmit.cs
- BypassElement.cs
- ToolStripManager.cs
- FileReservationCollection.cs
- GeneralTransform3D.cs
- EntitySetRetriever.cs
- BooleanKeyFrameCollection.cs
- WarningException.cs
- ClientSettings.cs
- ServiceOperationParameter.cs
- ReadOnlyDataSource.cs
- SizeValueSerializer.cs
- ReachIDocumentPaginatorSerializerAsync.cs
- PeerNameResolver.cs
- PersonalizationProviderHelper.cs
- MatrixAnimationUsingKeyFrames.cs
- Duration.cs
- MenuItem.cs
- XmlTextReader.cs
- TextClipboardData.cs
- CultureData.cs
- XhtmlBasicFormAdapter.cs