BrowserCredential(String, String, String) Constructor

Definition

Initializes a new instance of BrowserCredential.

public BrowserCredential (string subject, string vapidPrivateKey, string vapidPublicKey);
new Azure.ResourceManager.NotificationHubs.Models.BrowserCredential : string * string * string -> Azure.ResourceManager.NotificationHubs.Models.BrowserCredential
Public Sub New (subject As String, vapidPrivateKey As String, vapidPublicKey As String)

Parameters

subject
String

Gets or sets web push subject.

vapidPrivateKey
String

Gets or sets VAPID private key.

vapidPublicKey
String

Gets or sets VAPID public key.

Exceptions

subject, vapidPrivateKey or vapidPublicKey is null.

Applies to