Page.TransactionMode Page.TransactionMode Page.TransactionMode Page.TransactionMode Property

定義

設定頁面的異動支援層級。Sets the level of transaction support for the page.

protected:
 property int TransactionMode { int get(); void set(int value); };
protected int TransactionMode { get; set; }
member this.TransactionMode : int with get, set
Protected Property TransactionMode As Integer

屬性值

整數,表示其中一個 TransactionOption 列舉類型成員。An integer that represents one of the TransactionOption enumeration members.

備註

在大部分情況下,請勿在程式碼中設定這個屬性。In most circumstances, do not set this property in code. 設定Transaction屬性中@ Page .aspx 檔案中的指示詞。Set the Transaction attribute in the @ Page directive in the .aspx file. 當要求網頁時,將屬性設定動態產生的類別。When the page is requested, the dynamically generated class sets the property.

適用於