Share via


TeamFoundationNotificationService.FireEvents Method

Fires a collection of events. These events will the be delivered to all subscriptions that have signed up.

Namespace:  Microsoft.TeamFoundation.Server.Core
Assembly:  Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.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:
virtual void FireEvents(
    TeamFoundationRequestContext^ requestContext, 
    String^ eventSource, 
    IEnumerable<Object^>^ theEvents
) sealed
abstract FireEvents : 
        requestContext:TeamFoundationRequestContext * 
        eventSource:string * 
        theEvents:IEnumerable<Object> -> unit  
override FireEvents : 
        requestContext:TeamFoundationRequestContext * 
        eventSource:string * 
        theEvents:IEnumerable<Object> -> unit
public final function FireEvents(
    requestContext : TeamFoundationRequestContext, 
    eventSource : String, 
    theEvents : IEnumerable<Object>
)

Parameters

  • eventSource
    Type: System.String

    Optional: The eventSource can be any string. This allows 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.Server.Core Namespace