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
- CacheChildrenQuery.cs
- NavigationProperty.cs
- TrustLevelCollection.cs
- HeaderLabel.cs
- Int16AnimationBase.cs
- InternalCache.cs
- StyleModeStack.cs
- IERequestCache.cs
- WSIdentityFaultException.cs
- TextSearch.cs
- Delegate.cs
- TypeListConverter.cs
- CurrentChangingEventArgs.cs
- ErrorWebPart.cs
- HttpClientChannel.cs
- XPathEmptyIterator.cs
- CodeAccessPermission.cs
- ManagementEventWatcher.cs
- TreeViewItem.cs
- SeverityFilter.cs
- Button.cs
- ImageFormat.cs
- Int64AnimationUsingKeyFrames.cs
- UseAttributeSetsAction.cs
- XamlFigureLengthSerializer.cs
- BuilderPropertyEntry.cs
- PropertyNames.cs
- DocumentOrderComparer.cs
- WebPartVerb.cs
- SvcMapFileLoader.cs
- PageSettings.cs
- Grid.cs
- EnumConverter.cs
- SystemFonts.cs
- iisPickupDirectory.cs
- X509SecurityToken.cs
- DataGridItemCollection.cs
- ColumnTypeConverter.cs
- DataControlImageButton.cs
- Compilation.cs
- TimeSpanOrInfiniteConverter.cs
- BitmapEffectInput.cs
- ObjectViewFactory.cs
- StrokeNode.cs
- FixedHyperLink.cs
- DbMetaDataFactory.cs
- TileBrush.cs
- EntityCommandExecutionException.cs
- ManagementOptions.cs
- FigureParaClient.cs
- HwndSource.cs
- StyleXamlTreeBuilder.cs
- Constant.cs
- Unit.cs
- ExtendedProtectionPolicyTypeConverter.cs
- GridViewHeaderRowPresenterAutomationPeer.cs
- LineInfo.cs
- X509Certificate2.cs
- BaseUriHelper.cs
- SaveFileDialog.cs
- DocumentXPathNavigator.cs
- TypeLoadException.cs
- RIPEMD160Managed.cs
- CaseInsensitiveComparer.cs
- XmlSchemaObjectCollection.cs
- SqlSupersetValidator.cs
- TemplateXamlParser.cs
- Win32NamedPipes.cs
- IDReferencePropertyAttribute.cs
- MsmqIntegrationValidationBehavior.cs
- _FtpDataStream.cs
- DummyDataSource.cs
- BamlRecordReader.cs
- DataGridViewComboBoxColumnDesigner.cs
- XmlSchemaSimpleType.cs
- ProfileServiceManager.cs
- InvalidDataException.cs
- FixedSOMTableCell.cs
- SynchronizationContext.cs
- TemplatedAdorner.cs
- InternalCache.cs
- OleDbMetaDataFactory.cs
- GridViewItemAutomationPeer.cs
- counter.cs
- PublisherMembershipCondition.cs
- PeerInvitationResponse.cs
- WorkerRequest.cs
- SectionRecord.cs
- EntityDataSourceDesigner.cs
- TextBoxAutomationPeer.cs
- PolicyManager.cs
- SecurityProtocol.cs
- MetabaseServerConfig.cs
- EditorPartDesigner.cs
- EUCJPEncoding.cs
- MetadataArtifactLoaderCompositeFile.cs
- SqlDependencyUtils.cs
- storepermissionattribute.cs
- IdnMapping.cs
- BinaryUtilClasses.cs