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
- SrgsToken.cs
- SqlTypeSystemProvider.cs
- BrowserDefinition.cs
- X509UI.cs
- AuthenticationManager.cs
- Function.cs
- ProfileSettings.cs
- _SSPISessionCache.cs
- CoreChannel.cs
- SliderAutomationPeer.cs
- WindowInteropHelper.cs
- CopyNamespacesAction.cs
- baseaxisquery.cs
- ISCIIEncoding.cs
- ControlValuePropertyAttribute.cs
- OdbcInfoMessageEvent.cs
- EncryptedKey.cs
- CategoryNameCollection.cs
- AnnouncementEndpointElement.cs
- MemberNameValidator.cs
- XamlWriter.cs
- MouseWheelEventArgs.cs
- ResolveNameEventArgs.cs
- safex509handles.cs
- KeySpline.cs
- DesignerLinkAdapter.cs
- DataListItemEventArgs.cs
- UIElement3DAutomationPeer.cs
- URLIdentityPermission.cs
- ReferenceConverter.cs
- DataGridViewLinkCell.cs
- PixelFormats.cs
- SelectionUIService.cs
- KeyPullup.cs
- EditorAttribute.cs
- SimpleMailWebEventProvider.cs
- KeyboardNavigation.cs
- Int32RectValueSerializer.cs
- CodeDomSerializerException.cs
- XsltConvert.cs
- WindowsIdentity.cs
- ErrorFormatterPage.cs
- Storyboard.cs
- OleDbError.cs
- XmlBinaryReaderSession.cs
- ColorDialog.cs
- OlePropertyStructs.cs
- NumberAction.cs
- Table.cs
- ReadOnlyTernaryTree.cs
- HttpRawResponse.cs
- ShapeTypeface.cs
- CodeTypeMemberCollection.cs
- PieceNameHelper.cs
- RemoteWebConfigurationHost.cs
- InputBinder.cs
- RoleGroup.cs
- SoapEnumAttribute.cs
- TableProviderWrapper.cs
- ExtendedTransformFactory.cs
- RelationshipEntry.cs
- BrowserCapabilitiesFactory.cs
- MenuItem.cs
- MessagePropertyVariants.cs
- ImageAttributes.cs
- Ticks.cs
- _SafeNetHandles.cs
- Span.cs
- DataGridViewAutoSizeModeEventArgs.cs
- BaseProcessProtocolHandler.cs
- EntryWrittenEventArgs.cs
- TextBoxAutoCompleteSourceConverter.cs
- RuleInfoComparer.cs
- PackagePartCollection.cs
- CommunicationException.cs
- ExeContext.cs
- ProviderUtil.cs
- WebConfigurationHostFileChange.cs
- TableItemPatternIdentifiers.cs
- BinarySerializer.cs
- StringComparer.cs
- NetPipeSection.cs
- Msmq4SubqueuePoisonHandler.cs
- _AutoWebProxyScriptHelper.cs
- TrackingParticipant.cs
- CheckPair.cs
- cookie.cs
- ElementInit.cs
- Tuple.cs
- AVElementHelper.cs
- OracleRowUpdatedEventArgs.cs
- SolidColorBrush.cs
- FlowDocumentPaginator.cs
- Selection.cs
- WindowsSecurityTokenAuthenticator.cs
- basecomparevalidator.cs
- FormViewModeEventArgs.cs
- ThicknessConverter.cs
- WindowsScroll.cs
- DetailsViewInsertedEventArgs.cs