ホーム › System.ComponentServices › TransactionVote
TransactionVote
列挙型メンバー 2
| 名前 | 10進 | 16進 | 説明 |
|---|---|---|---|
| TxCommit | 0 | 0x0 | 既存のオブジェクトが、現在のトランザクションのコミットに投票します。 |
| TxAbort | 1 | 0x1 | 既存のオブジェクトが、現在のトランザクションのアボートに投票します。 |
公式ドキュメント
現在のトランザクションをコミットまたはアボートする準備が、オブジェクトにできているかどうかを示します。
出典・ライセンス: 上記「公式ドキュメント」の内容は Microsoft の Win32 API ドキュメント(MicrosoftDocs/sdk-api)を日本語に翻訳・改変したものです。© Microsoft Corporation. CC BY 4.0 で提供。
Microsoft 公式リファレンス: 英語 (en-us) · 日本語 (ja-jp) · 原文ソース (GitHub)
Microsoft 公式リファレンス: 英語 (en-us) · 日本語 (ja-jp) · 原文ソース (GitHub)
各言語での定義
列挙メンバーの定義。HSP タブは #define global(値は16進)。
typedef enum TransactionVote : int {
TxCommit = 0,
TxAbort = 1
} TransactionVote;public enum TransactionVote : int
{
TxCommit = 0,
TxAbort = 1,
}Public Enum TransactionVote As Integer
TxCommit = 0
TxAbort = 1
End Enumimport enum
class TransactionVote(enum.IntEnum):
TxCommit = 0
TxAbort = 1// TransactionVote
pub const TxCommit: i32 = 0;
pub const TxAbort: i32 = 1;// TransactionVote
const (
TxCommit int32 = 0
TxAbort int32 = 1
)const
TxCommit = 0;
TxAbort = 1;// TransactionVote
pub const TxCommit: i32 = 0;
pub const TxAbort: i32 = 1;const
TxCommit* = 0
TxAbort* = 1enum TransactionVote : int {
TxCommit = 0,
TxAbort = 1,
}#define global TxCommit 0x0
#define global TxAbort 0x1