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:
void PublishNotification(
TeamFoundationRequestContext^ requestContext,
Object^ notificationEvent
)
member PublishNotification :
requestContext:TeamFoundationRequestContext *
notificationEvent:Object -> unit
public 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
.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.