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
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe context this operation is run.
eventSource
Type: System.StringOptional: 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.
theEvents
Type: System.Collections.Generic.IEnumerable<Object>This is the objects that represent the event data.
.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.