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
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextContext this operation is run.
eventSource
Type: System.StringOptional: 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.
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.