Język

ChannelAccount Konstruktory

Definicja

Przeciążenia

Nazwa Opis
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 na tym kanale (Przykład: joe@smith.com, lub @joesmith lub 123456).

name
String

Pokaż przyjazne imię.

role
String

Rola podmiotu stojącego za kontem (przykład: użytkownik, bot itp.). Możliwe wartości to: 'użytkownik', 'bot'.

aadObjectId
String

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

Dotyczy