語言

ConversationReference 建構函式

定義

多載

ConversationReference()

初始化 ConversationReference 類別的新執行個體。

public ConversationReference();
Public Sub New ()

適用於

ConversationReference(String, ChannelAccount, ChannelAccount, ConversationAccount, String, String)

初始化 ConversationReference 類別的新執行個體。

public ConversationReference(string activityId = default, Microsoft.Bot.Schema.ChannelAccount user = default, Microsoft.Bot.Schema.ChannelAccount bot = default, Microsoft.Bot.Schema.ConversationAccount conversation = default, string channelId = default, string serviceUrl = default);
new Microsoft.Bot.Schema.ConversationReference : string * Microsoft.Bot.Schema.ChannelAccount * Microsoft.Bot.Schema.ChannelAccount * Microsoft.Bot.Schema.ConversationAccount * string * string -> Microsoft.Bot.Schema.ConversationReference
Public Sub New (Optional activityId As String = Nothing, Optional user As ChannelAccount = Nothing, Optional bot As ChannelAccount = Nothing, Optional conversation As ConversationAccount = Nothing, Optional channelId As String = Nothing, Optional serviceUrl As String = Nothing)

參數

activityId
String

(選擇性)要參考的活動標識碼。

user
ChannelAccount

(選擇性)參與此交談的使用者。

bot
ChannelAccount

參與此交談的 Bot。

conversation
ConversationAccount

交談參考。

channelId
String

通道標識碼。

serviceUrl
String

執行有關參考交談之作業的服務端點。

適用於

ConversationReference(CultureInfo, String, ChannelAccount, ChannelAccount, ConversationAccount, String, String)

初始化 ConversationReference 類別的新執行個體。

public ConversationReference(System.Globalization.CultureInfo locale, string activityId = default, Microsoft.Bot.Schema.ChannelAccount user = default, Microsoft.Bot.Schema.ChannelAccount bot = default, Microsoft.Bot.Schema.ConversationAccount conversation = default, string channelId = default, string serviceUrl = default);
new Microsoft.Bot.Schema.ConversationReference : System.Globalization.CultureInfo * string * Microsoft.Bot.Schema.ChannelAccount * Microsoft.Bot.Schema.ChannelAccount * Microsoft.Bot.Schema.ConversationAccount * string * string -> Microsoft.Bot.Schema.ConversationReference
Public Sub New (locale As CultureInfo, Optional activityId As String = Nothing, Optional user As ChannelAccount = Nothing, Optional bot As ChannelAccount = Nothing, Optional conversation As ConversationAccount = Nothing, Optional channelId As String = Nothing, Optional serviceUrl As String = Nothing)

參數

locale
CultureInfo

文字欄位內容的地區設定名稱。 地區設定名稱是與語言相關聯的 ISO 639 兩個或三個字母文化特性代碼和與國家或地區相關聯的 ISO 3166 雙字母子文化特性代碼的組合。 地區設定名稱也可以對應至有效的BCP-47語言標記。

activityId
String

(選擇性)要參考的活動標識碼。

user
ChannelAccount

(選擇性)參與此交談的使用者。

bot
ChannelAccount

參與此交談的 Bot。

conversation
ConversationAccount

交談參考。

channelId
String

通道標識碼。

serviceUrl
String

執行有關參考交談之作業的服務端點。

適用於