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:
void Subscribe(
TeamFoundationRequestContext^ requestContext,
ISubscriber^ subscriber
)
member Subscribe :
requestContext:TeamFoundationRequestContext *
subscriber:ISubscriber -> unit
public 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
.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.