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
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
theEvent
Type: System.ObjectThis is the object that represents 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.