Activity.AsContactRelationUpdateActivity 方法

定义

将此活动作为 IContactRelationUpdateActivity 对象返回;如果这不是该类型的活动,则返回 null。

public Microsoft.Bot.Schema.IContactRelationUpdateActivity AsContactRelationUpdateActivity ();
abstract member AsContactRelationUpdateActivity : unit -> Microsoft.Bot.Schema.IContactRelationUpdateActivity
override this.AsContactRelationUpdateActivity : unit -> Microsoft.Bot.Schema.IContactRelationUpdateActivity
Public Function AsContactRelationUpdateActivity () As IContactRelationUpdateActivity

返回

此活动作为联系人关系更新活动;或 null。

实现

适用于