共用方式為


LinkNotificationHubContent Class

Definition

Description of an Azure Notification Hub to link to the communication service.

public class LinkNotificationHubContent : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Communication.Models.LinkNotificationHubContent>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Communication.Models.LinkNotificationHubContent>
public class LinkNotificationHubContent
type LinkNotificationHubContent = class
    interface IJsonModel<LinkNotificationHubContent>
    interface IPersistableModel<LinkNotificationHubContent>
type LinkNotificationHubContent = class
Public Class LinkNotificationHubContent
Implements IJsonModel(Of LinkNotificationHubContent), IPersistableModel(Of LinkNotificationHubContent)
Public Class LinkNotificationHubContent
Inheritance
LinkNotificationHubContent
Implements

Constructors

LinkNotificationHubContent(ResourceIdentifier, String)

Initializes a new instance of LinkNotificationHubContent.

Properties

ConnectionString

Connection string for the notification hub.

ResourceId

The resource ID of the notification hub.

Explicit Interface Implementations

IJsonModel<LinkNotificationHubContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<LinkNotificationHubContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<LinkNotificationHubContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<LinkNotificationHubContent>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<LinkNotificationHubContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to