Поделиться через


VssClientNotificationManager.SubscribeAsync Method

Namespace:  Microsoft.VisualStudio.Services.Client
Assembly:  Microsoft.VisualStudio.Services.Client (in Microsoft.VisualStudio.Services.Client.dll)

Syntax

'Declaration
Public Function SubscribeAsync ( _
    context As NotificationContext _
) As Task(Of IClientNotificationSubscription)
public Task<IClientNotificationSubscription> SubscribeAsync(
    NotificationContext context
)
public:
virtual Task<IClientNotificationSubscription^>^ SubscribeAsync(
    NotificationContext^ context
) sealed
abstract SubscribeAsync : 
        context:NotificationContext -> Task<IClientNotificationSubscription> 
override SubscribeAsync : 
        context:NotificationContext -> Task<IClientNotificationSubscription> 
public final function SubscribeAsync(
    context : NotificationContext
) : Task<IClientNotificationSubscription>

Parameters

Return Value

Type: System.Threading.Tasks.Task<IClientNotificationSubscription>

Implements

INotificationManager.SubscribeAsync(NotificationContext)

.NET Framework Security

See Also

Reference

VssClientNotificationManager Class

Microsoft.VisualStudio.Services.Client Namespace