BYOT.CreateWithTransaction(Object, Type) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立登記於手動交易內的物件。
public:
static System::Object ^ CreateWithTransaction(System::Object ^ transaction, Type ^ t);
public static object CreateWithTransaction (object transaction, Type t);
static member CreateWithTransaction : obj * Type -> obj
Public Shared Function CreateWithTransaction (transaction As Object, t As Type) As Object
參數
- transaction
- Object
指定交易的 ITransaction 或 Transaction 物件。
- t
- Type
指定的型別。
傳回
要求的交易。
備註
CreateWithTransaction 會執行 COM+ 分散式交易協調器 (DTC) 方法 ICreateWithTransaction::CreateInstance
的 Managed 對等專案。