TeamFoundationEventService.PublishNotification Method
Publishes an asynchronous event using a system request context.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Sub PublishNotification ( _
requestContext As TeamFoundationRequestContext, _
notificationEvent As Object _
)
public void PublishNotification(
TeamFoundationRequestContext requestContext,
Object notificationEvent
)
public:
virtual void PublishNotification(
TeamFoundationRequestContext^ requestContext,
Object^ notificationEvent
) sealed
abstract PublishNotification :
requestContext:TeamFoundationRequestContext *
notificationEvent:Object -> unit
override PublishNotification :
requestContext:TeamFoundationRequestContext *
notificationEvent:Object -> unit
public final function PublishNotification(
requestContext : TeamFoundationRequestContext,
notificationEvent : Object
)
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe context to execute the notification
notificationEvent
Type: System.ObjectThe event to be published
Implements
ITeamFoundationEventService.PublishNotification(TeamFoundationRequestContext, 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.