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
- RunWorkerCompletedEventArgs.cs
- SystemIPInterfaceProperties.cs
- SystemIPInterfaceStatistics.cs
- PerformanceCounterCategory.cs
- SafeBitVector32.cs
- DesignerActionMethodItem.cs
- OleDbConnection.cs
- TextRange.cs
- SchemaElementDecl.cs
- MasterPageCodeDomTreeGenerator.cs
- Blend.cs
- ComponentSerializationService.cs
- VisualState.cs
- DiscoveryInnerClientAdhoc11.cs
- SuppressMessageAttribute.cs
- DropShadowEffect.cs
- PropertyMetadata.cs
- FunctionImportElement.cs
- FileChangesMonitor.cs
- Helper.cs
- ListManagerBindingsCollection.cs
- SafeSecurityHandles.cs
- InkCollectionBehavior.cs
- WebConfigurationHost.cs
- XmlSchemaImporter.cs
- ItemMap.cs
- DisableDpiAwarenessAttribute.cs
- OperatorExpressions.cs
- TransformedBitmap.cs
- DrawingImage.cs
- ComplexObject.cs
- ZipFileInfo.cs
- SimpleBitVector32.cs
- CompositeDesignerAccessibleObject.cs
- Section.cs
- ObjectDataSourceFilteringEventArgs.cs
- StrongNameKeyPair.cs
- ReachVisualSerializerAsync.cs
- SourceFileInfo.cs
- StackBuilderSink.cs
- SimpleWorkerRequest.cs
- XamlFrame.cs
- Margins.cs
- Simplifier.cs
- LineSegment.cs
- XmlSignatureManifest.cs
- safemediahandle.cs
- FullTextLine.cs
- CapiHashAlgorithm.cs
- ClientScriptItem.cs
- TextTreeRootTextBlock.cs
- TreeViewBindingsEditorForm.cs
- BindingContext.cs
- SmtpNtlmAuthenticationModule.cs
- CssClassPropertyAttribute.cs
- WizardPanel.cs
- WmlValidationSummaryAdapter.cs
- ExpandCollapsePattern.cs
- XmlSchemaImporter.cs
- ProviderException.cs
- _LocalDataStoreMgr.cs
- SimpleMailWebEventProvider.cs
- ProfileService.cs
- RootAction.cs
- FixedSOMTable.cs
- Drawing.cs
- SchemaInfo.cs
- HttpCachePolicy.cs
- UnsafeNativeMethodsMilCoreApi.cs
- SamlAudienceRestrictionCondition.cs
- UserControlFileEditor.cs
- HighlightComponent.cs
- graph.cs
- FixedPage.cs
- DataGridAutomationPeer.cs
- _Win32.cs
- ImmComposition.cs
- RemotingConfiguration.cs
- RouteUrlExpressionBuilder.cs
- CTreeGenerator.cs
- PolicyAssertionCollection.cs
- DESCryptoServiceProvider.cs
- RpcCryptoRequest.cs
- Panel.cs
- Query.cs
- TextEditorMouse.cs
- ResXResourceSet.cs
- ReadOnlyPropertyMetadata.cs
- AssemblyResourceLoader.cs
- ToolBarDesigner.cs
- IdentityManager.cs
- RuleSettings.cs
- InheritanceRules.cs
- AssertFilter.cs
- GrammarBuilderDictation.cs
- LogicalExpressionTypeConverter.cs
- CapabilitiesState.cs
- RichTextBox.cs
- ConnectionPointCookie.cs
- Transform3D.cs