TeamFoundationNotificationService.FireEvents Method

Fire a collection of events. These events 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 FireEvents ( _
    requestContext As TeamFoundationRequestContext, _
    eventSource As String, _
    theEvents As IEnumerable(Of Object) _
)
public void FireEvents(
    TeamFoundationRequestContext requestContext,
    string eventSource,
    IEnumerable<Object> theEvents
)
public:
void FireEvents(
    TeamFoundationRequestContext^ requestContext, 
    String^ eventSource, 
    IEnumerable<Object^>^ theEvents
)
member FireEvents : 
        requestContext:TeamFoundationRequestContext * 
        eventSource:string * 
        theEvents:IEnumerable<Object> -> unit
public function FireEvents(
    requestContext : TeamFoundationRequestContext, 
    eventSource : String, 
    theEvents : IEnumerable<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.

.NET Framework Security

See Also

Reference

TeamFoundationNotificationService Class

Microsoft.TeamFoundation.Framework.Server Namespace