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
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
hostId
Type: System.GuidThe host to fire the event in
notificationEvent
Type: System.ObjectThe event
.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.