다음을 통해 공유


ITeamFoundationEventService.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
Sub AsyncPublishNotification ( _
    requestContext As TeamFoundationRequestContext, _
    hostId As Guid, _
    notificationEvent As Object _
)
void AsyncPublishNotification(
    TeamFoundationRequestContext requestContext,
    Guid hostId,
    Object notificationEvent
)
void AsyncPublishNotification(
    TeamFoundationRequestContext^ requestContext, 
    Guid hostId, 
    Object^ notificationEvent
)
abstract AsyncPublishNotification : 
        requestContext:TeamFoundationRequestContext * 
        hostId:Guid * 
        notificationEvent:Object -> unit
function AsyncPublishNotification(
    requestContext : TeamFoundationRequestContext, 
    hostId : Guid, 
    notificationEvent : Object
)

Parameters

  • hostId
    Type: System.Guid

    The host to fire the event in

.NET Framework Security

See Also

Reference

ITeamFoundationEventService Interface

Microsoft.TeamFoundation.Framework.Server Namespace