Udostępnij za pośrednictwem


ChannelAccount Konstruktory

Definicja

Przeciążenia

ChannelAccount()

Inicjuje nowe wystąpienie klasy ChannelAccount.

ChannelAccount(String, String, String, String)

Inicjuje nowe wystąpienie klasy ChannelAccount.

ChannelAccount()

Inicjuje nowe wystąpienie klasy ChannelAccount.

public ChannelAccount ();
Public Sub New ()

Dotyczy

ChannelAccount(String, String, String, String)

Inicjuje nowe wystąpienie klasy ChannelAccount.

public ChannelAccount (string id = default, string name = default, string role = default, string aadObjectId = default);
new Microsoft.Bot.Schema.ChannelAccount : string * string * string * string -> Microsoft.Bot.Schema.ChannelAccount
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional role As String = Nothing, Optional aadObjectId As String = Nothing)

Parametry

id
String

Identyfikator kanału użytkownika lub bota w tym kanale (na przykład: joe@smith.comlub @joesmith 123456).

name
String

Przyjazna nazwa wyświetlana.

role
String

Rola jednostki za kontem (Example:User, Bot itp.). Możliwe wartości to: "user", "bot".

aadObjectId
String

Identyfikator obiektu tego konta w usłudze Azure Active Directory (AAD).

Dotyczy