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
- 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.