IClientNotificationService.Subscribe Method
Namespace: Microsoft.VisualStudio.Services.ClientNotification
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Function Subscribe ( _
requestContext As TeamFoundationRequestContext, _
clientId As String _
) As ClientNotificationSubscription
ClientNotificationSubscription Subscribe(
TeamFoundationRequestContext requestContext,
string clientId
)
ClientNotificationSubscription^ Subscribe(
TeamFoundationRequestContext^ requestContext,
String^ clientId
)
abstract Subscribe :
requestContext:TeamFoundationRequestContext *
clientId:string -> ClientNotificationSubscription
function Subscribe(
requestContext : TeamFoundationRequestContext,
clientId : String
) : ClientNotificationSubscription
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- clientId
Type: System.String
Return Value
Type: Microsoft.VisualStudio.Services.ClientNotification.ClientNotificationSubscription
.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.
See Also
Reference
IClientNotificationService Interface
Microsoft.VisualStudio.Services.ClientNotification Namespace