IMessageProvider.Subscribe Method

Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Sub Subscribe ( _
    requestContext As TeamFoundationRequestContext, _
    messageBusName As String, _
    action As Action(Of TeamFoundationRequestContext, IMessage), _
    exceptionHandler As Action(Of Exception) _
)
void Subscribe(
    TeamFoundationRequestContext requestContext,
    string messageBusName,
    Action<TeamFoundationRequestContext, IMessage> action,
    Action<Exception> exceptionHandler
)
void Subscribe(
    TeamFoundationRequestContext^ requestContext, 
    String^ messageBusName, 
    Action<TeamFoundationRequestContext^, IMessage^>^ action, 
    Action<Exception^>^ exceptionHandler
)
abstract Subscribe : 
        requestContext:TeamFoundationRequestContext * 
        messageBusName:string * 
        action:Action<TeamFoundationRequestContext, IMessage> * 
        exceptionHandler:Action<Exception> -> unit
function Subscribe(
    requestContext : TeamFoundationRequestContext, 
    messageBusName : String, 
    action : Action<TeamFoundationRequestContext, IMessage>, 
    exceptionHandler : Action<Exception>
)

Parameters

.NET Framework Security

See Also

Reference

IMessageProvider Interface

Microsoft.TeamFoundation.Framework.Server Namespace