你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MicrosoftBotIdentifier 类

定义

表示 Microsoft 机器人。

public class MicrosoftBotIdentifier : Azure.Communication.CommunicationIdentifier
type MicrosoftBotIdentifier = class
    inherit CommunicationIdentifier
Public Class MicrosoftBotIdentifier
Inherits CommunicationIdentifier
继承
MicrosoftBotIdentifier

构造函数

MicrosoftBotIdentifier(String, Boolean, Nullable<CommunicationCloudEnvironment>)

初始化 MicrosoftBotIdentifier 的新实例。

属性

BotId

Microsoft 机器人的 ID。

Cloud

机器人所属的云。

IsResourceAccountConfigured

如果机器人是全局机器人,则为 True;如果机器人已租户化,则为 false。

RawId

返回 的规范字符串表示形式 MicrosoftBotIdentifier。 可以使用 RawId 对标识符进行编码,然后将其用作数据库中的密钥。

方法

Equals(CommunicationIdentifier)

指示当前对象是否等于同一类型的另一个对象。

GetHashCode()

作为默认哈希函数。

(继承自 CommunicationIdentifier)
ToString()

返回表示当前对象的字符串。

适用于