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
- TabPanel.cs
- SemaphoreFullException.cs
- MSG.cs
- PageThemeParser.cs
- XamlReader.cs
- ThreadExceptionDialog.cs
- CursorEditor.cs
- CompoundFileReference.cs
- WebPartDisplayMode.cs
- ChildDocumentBlock.cs
- util.cs
- LogManagementAsyncResult.cs
- IdleTimeoutMonitor.cs
- ConfigurationLocationCollection.cs
- InvalidProgramException.cs
- EncodingNLS.cs
- XmlDomTextWriter.cs
- EastAsianLunisolarCalendar.cs
- DBAsyncResult.cs
- ContextDataSourceView.cs
- XPathCompileException.cs
- CryptoHelper.cs
- RegexParser.cs
- ApplicationBuildProvider.cs
- HttpWebResponse.cs
- SourceLocationProvider.cs
- IndexedEnumerable.cs
- HtmlInputReset.cs
- SurrogateDataContract.cs
- WebBaseEventKeyComparer.cs
- MTConfigUtil.cs
- ValidationErrorEventArgs.cs
- ThemeInfoAttribute.cs
- securestring.cs
- HitTestWithPointDrawingContextWalker.cs
- BaseTypeViewSchema.cs
- BmpBitmapEncoder.cs
- SecurityKeyType.cs
- GraphicsPath.cs
- Point4DConverter.cs
- SourceFilter.cs
- LiteralLink.cs
- CellParaClient.cs
- _Semaphore.cs
- _NestedMultipleAsyncResult.cs
- KeyFrames.cs
- Mapping.cs
- IgnoreSectionHandler.cs
- CfgRule.cs
- PasswordBox.cs
- SoapExtensionImporter.cs
- DbConnectionInternal.cs
- HttpCookieCollection.cs
- AdRotatorDesigner.cs
- LinqDataSourceHelper.cs
- FilterableAttribute.cs
- webbrowsersite.cs
- EmissiveMaterial.cs
- CheckPair.cs
- AdRotator.cs
- UnmanagedHandle.cs
- TraceSection.cs
- JpegBitmapEncoder.cs
- XsltConvert.cs
- ExtendedProperty.cs
- BrowserCapabilitiesFactory35.cs
- HebrewCalendar.cs
- WindowsStartMenu.cs
- Base64Encoding.cs
- DesignSurfaceCollection.cs
- ReadOnlyKeyedCollection.cs
- CategoryGridEntry.cs
- StringAnimationUsingKeyFrames.cs
- TraceUtility.cs
- autovalidator.cs
- ClaimTypeRequirement.cs
- BitSet.cs
- WriteTimeStream.cs
- ValidationRule.cs
- ObjectStateManagerMetadata.cs
- NameSpaceExtractor.cs
- _NegotiateClient.cs
- SynchronousChannelMergeEnumerator.cs
- DragCompletedEventArgs.cs
- XpsDocument.cs
- IChannel.cs
- WebPartHeaderCloseVerb.cs
- DataGridViewButtonColumn.cs
- QuaternionAnimationUsingKeyFrames.cs
- DefaultProfileManager.cs
- RegistrationServices.cs
- Typeface.cs
- HttpContextWrapper.cs
- _RequestCacheProtocol.cs
- QuadraticBezierSegment.cs
- FlowLayout.cs
- SecurityPolicySection.cs
- WebWorkflowRole.cs
- HTMLTextWriter.cs
- TraversalRequest.cs