TeamFoundationEventService.AsyncPublishNotification Method
Publishes an asynchronous event using a system request context: Note that this will wake up *ANY* hosts that may have been dormant.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Sub AsyncPublishNotification ( _
requestContext As TeamFoundationRequestContext, _
hostId As Guid, _
notificationEvent As Object _
)
public void AsyncPublishNotification(
TeamFoundationRequestContext requestContext,
Guid hostId,
Object notificationEvent
)
public:
virtual void AsyncPublishNotification(
TeamFoundationRequestContext^ requestContext,
Guid hostId,
Object^ notificationEvent
) sealed
abstract AsyncPublishNotification :
requestContext:TeamFoundationRequestContext *
hostId:Guid *
notificationEvent:Object -> unit
override AsyncPublishNotification :
requestContext:TeamFoundationRequestContext *
hostId:Guid *
notificationEvent:Object -> unit
public final function AsyncPublishNotification(
requestContext : TeamFoundationRequestContext,
hostId : Guid,
notificationEvent : Object
)
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
hostId
Type: System.GuidThe host to raise the event in
notificationEvent
Type: System.ObjectThe event
Implements
ITeamFoundationEventService.AsyncPublishNotification(TeamFoundationRequestContext, Guid, Object)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.