Delen via


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

  • hostId
    Type: System.Guid

    The host to raise the event in

Implements

ITeamFoundationEventService.AsyncPublishNotification(TeamFoundationRequestContext, Guid, Object)

.NET Framework Security

See Also

Reference

TeamFoundationEventService Class

Microsoft.TeamFoundation.Framework.Server Namespace