TeamFoundationNotificationService.FireEvent Method

Fire a single event. This event will then be delivered to all subscriptions that have signed up.

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public Sub FireEvent ( _
    requestContext As TeamFoundationRequestContext, _
    eventSource As String, _
    theEvent As Object _
)
public void FireEvent(
    TeamFoundationRequestContext requestContext,
    string eventSource,
    Object theEvent
)
public:
void FireEvent(
    TeamFoundationRequestContext^ requestContext, 
    String^ eventSource, 
    Object^ theEvent
)
member FireEvent : 
        requestContext:TeamFoundationRequestContext * 
        eventSource:string * 
        theEvent:Object -> unit
public function FireEvent(
    requestContext : TeamFoundationRequestContext, 
    eventSource : String, 
    theEvent : Object
)

Parameters

  • eventSource
    Type: System.String

    Optional: The eventSource can be any string. This allows for code on the receiving end of the event to have some context about where the event originated. This value can be null or String.Empty

  • theEvent
    Type: System.Object

    This is the object that represents the event data.

.NET Framework Security

See Also

Reference

TeamFoundationNotificationService Class

Microsoft.TeamFoundation.Framework.Server Namespace