語言

SessionEndingEventArgs.Cancel 屬性

定義

取得或設定一個值,指示是否取消使用者請求以結束會話。

public:
 property bool Cancel { bool get(); void set(bool value); };
public bool Cancel { get; set; }
member this.Cancel : bool with get, set
Public Property Cancel As Boolean

屬性值

true用來取消使用者結束會話的請求;否則,。 false

備註

當設定為 true時,此屬性請求會話繼續執行。 它並不保證會談不會結束。

適用於