TeamFoundationNotificationService.FireEvent Method
Fires a single event. This event 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 FireEvent ( _
requestContext As TeamFoundationRequestContext, _
eventSource As String, _
theEvent As Object _
)
public void FireEvent(
TeamFoundationRequestContext requestContext,
string eventSource,
Object theEvent
)
public:
virtual void FireEvent(
TeamFoundationRequestContext^ requestContext,
String^ eventSource,
Object^ theEvent
) sealed
abstract FireEvent :
requestContext:TeamFoundationRequestContext *
eventSource:string *
theEvent:Object -> unit
override FireEvent :
requestContext:TeamFoundationRequestContext *
eventSource:string *
theEvent:Object -> unit
public final function FireEvent(
requestContext : TeamFoundationRequestContext,
eventSource : String,
theEvent : 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.
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.