NotificationEndPointCollection.CreateAsync Method

Creates a notification endpoint object asynchronously.

Namespace:  Microsoft.WindowsAzure.MediaServices.Client
Assembly:  Microsoft.WindowsAzure.MediaServices.Client (in Microsoft.WindowsAzure.MediaServices.Client.dll)

Syntax

'Declaration
Public Function CreateAsync ( _
    name As String, _
    endPointType As NotificationEndPointType, _
    endPointAddress As String _
) As Task(Of INotificationEndPoint)
'Usage
Dim instance As NotificationEndPointCollection 
Dim name As String 
Dim endPointType As NotificationEndPointType 
Dim endPointAddress As String 
Dim returnValue As Task(Of INotificationEndPoint)

returnValue = instance.CreateAsync(name, _
    endPointType, endPointAddress)
public Task<INotificationEndPoint> CreateAsync(
    string name,
    NotificationEndPointType endPointType,
    string endPointAddress
)
public:
Task<INotificationEndPoint^>^ CreateAsync(
    String^ name, 
    NotificationEndPointType endPointType, 
    String^ endPointAddress
)
member CreateAsync : 
        name:string * 
        endPointType:NotificationEndPointType * 
        endPointAddress:string -> Task<INotificationEndPoint> 
public function CreateAsync(
    name : String, 
    endPointType : NotificationEndPointType, 
    endPointAddress : String
) : Task<INotificationEndPoint>

Parameters

  • endPointAddress
    Type: System.String
    Notification endpoint address.

Return Value

Type: System.Threading.Tasks.Task<INotificationEndPoint>
Returns Task<TResult>.

See Also

Reference

NotificationEndPointCollection Class

Microsoft.WindowsAzure.MediaServices.Client Namespace