IActivity.AsContactRelationUpdateActivity 方法

定义

如果这是 contactRelationUpdate 活动,则返回 IContactRelationUpdateActivity,否则返回 null。

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

返回

IContactRelationUpdateActivity。

适用于