共用方式為


IActivity.AsMessageDeleteActivity 方法

定義

如果這是訊息刪除活動,則會傳回 IMessageDeleteActivity,否則傳回 null。

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

傳回

IMessageDeleteActivity。

適用於