TeamFoundationEventService.Subscribe Method
Subscribe to the specified event(s).
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Sub Subscribe ( _
requestContext As TeamFoundationRequestContext, _
subscriber As ISubscriber _
)
public void Subscribe(
TeamFoundationRequestContext requestContext,
ISubscriber subscriber
)
public:
virtual void Subscribe(
TeamFoundationRequestContext^ requestContext,
ISubscriber^ subscriber
) sealed
abstract Subscribe :
requestContext:TeamFoundationRequestContext *
subscriber:ISubscriber -> unit
override Subscribe :
requestContext:TeamFoundationRequestContext *
subscriber:ISubscriber -> unit
public final function Subscribe(
requestContext : TeamFoundationRequestContext,
subscriber : ISubscriber
)
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
subscriber
Type: Microsoft.TeamFoundation.Framework.Server.ISubscriberThe object providing the subscriber
Implements
ITeamFoundationEventService.Subscribe(TeamFoundationRequestContext, ISubscriber)
.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.