语言

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

(可选)要引用的活动的 ID。

user
ChannelAccount

(可选)参与此对话的用户。

bot
ChannelAccount

参与此对话的机器人。

conversation
ConversationAccount

对话参考。

channelId
String

通道 ID。

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

(可选)要引用的活动的 ID。

user
ChannelAccount

(可选)参与此对话的用户。

bot
ChannelAccount

参与此对话的机器人。

conversation
ConversationAccount

对话参考。

channelId
String

通道 ID。

serviceUrl
String

可以执行与所引用会话相关的作的服务终结点。

适用于