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
- PictureBox.cs
- TriState.cs
- ClientSideQueueItem.cs
- safePerfProviderHandle.cs
- Thickness.cs
- TextServicesProperty.cs
- MessageSecurityOverHttpElement.cs
- DirectionalLight.cs
- EntityContainerEntitySet.cs
- PerformanceCounterPermission.cs
- PolyLineSegmentFigureLogic.cs
- EntryWrittenEventArgs.cs
- ClientUrlResolverWrapper.cs
- SqlReferenceCollection.cs
- DebugView.cs
- ToolBarOverflowPanel.cs
- DesignTimeVisibleAttribute.cs
- RuntimeResourceSet.cs
- ContentElement.cs
- ProjectionQueryOptionExpression.cs
- Int64Storage.cs
- XmlSchemaAnyAttribute.cs
- ADRole.cs
- WebPartConnectionsCancelEventArgs.cs
- CqlIdentifiers.cs
- ContextMenuStrip.cs
- LiteralText.cs
- ConsoleKeyInfo.cs
- UIElementCollection.cs
- SaveRecipientRequest.cs
- ContainsRowNumberChecker.cs
- ToolStripSeparatorRenderEventArgs.cs
- RunInstallerAttribute.cs
- XomlCompilerError.cs
- FunctionQuery.cs
- SubpageParaClient.cs
- SafeSystemMetrics.cs
- PasswordBox.cs
- DataServiceRequestOfT.cs
- OletxTransactionManager.cs
- DeviceSpecificChoiceCollection.cs
- TableProvider.cs
- ProjectionPathBuilder.cs
- GeneralTransform3DTo2D.cs
- BaseProcessProtocolHandler.cs
- ZipIOFileItemStream.cs
- TabControlEvent.cs
- WebPartDisplayModeCancelEventArgs.cs
- BuildProviderCollection.cs
- CAGDesigner.cs
- HttpCacheParams.cs
- TemplatePropertyEntry.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- smtpconnection.cs
- TypedElement.cs
- Compress.cs
- baseshape.cs
- AmbientLight.cs
- RequestTimeoutManager.cs
- ResolveNameEventArgs.cs
- DataViewSetting.cs
- Parameter.cs
- ProcessHostFactoryHelper.cs
- ConnectionInterfaceCollection.cs
- MouseCaptureWithinProperty.cs
- List.cs
- ConnectivityStatus.cs
- FunctionUpdateCommand.cs
- XsdBuilder.cs
- NetPipeSectionData.cs
- CssTextWriter.cs
- DataServiceExpressionVisitor.cs
- UpDownEvent.cs
- ParserStreamGeometryContext.cs
- DataBoundLiteralControl.cs
- LookupNode.cs
- ExtendedProperty.cs
- EdmEntityTypeAttribute.cs
- LingerOption.cs
- filewebrequest.cs
- SpeechEvent.cs
- PageBreakRecord.cs
- TargetFrameworkAttribute.cs
- CompilationUtil.cs
- DataTableReaderListener.cs
- XamlReaderHelper.cs
- DefaultCommandConverter.cs
- ProcessHost.cs
- JoinElimination.cs
- HttpCacheParams.cs
- EncodingConverter.cs
- DbProviderServices.cs
- ProcessInfo.cs
- Math.cs
- ModelTypeConverter.cs
- TextFormatterContext.cs
- ControlPropertyNameConverter.cs
- BitmapEffectGroup.cs
- WebPartConnectionsCloseVerb.cs
- XmlWrappingReader.cs