INotificationManager.SubscribeAsync Method
Namespace: Microsoft.VisualStudio.Services.Client
Assembly: Microsoft.VisualStudio.Services.Client (in Microsoft.VisualStudio.Services.Client.dll)
Syntax
'Declaration
Function SubscribeAsync ( _
config As NotificationContext _
) As Task(Of IClientNotificationSubscription)
Task<IClientNotificationSubscription> SubscribeAsync(
NotificationContext config
)
Task<IClientNotificationSubscription^>^ SubscribeAsync(
NotificationContext^ config
)
abstract SubscribeAsync :
config:NotificationContext -> Task<IClientNotificationSubscription>
function SubscribeAsync(
config : NotificationContext
) : Task<IClientNotificationSubscription>
Parameters
Return Value
Type: System.Threading.Tasks.Task<IClientNotificationSubscription>
.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.