ContextUtil.IsInTransaction プロパティ
アセンブリ: System.EnterpriseServices (system.enterpriseservices.dll 内)



IsInTransaction プロパティの値を取得するコード例を次に示します。
<Transaction(TransactionOption.Required)> _ Public Class ContextUtil_IsInTransaction Inherits ServicedComponent Public Sub Example() ' Display whether the current COM+ context is enlisted in a ' transaction. MsgBox("Current context enlisted in transaction: " & ContextUtil.IsInTransaction) End Sub 'Example End Class 'ContextUtil_IsInTransaction
[Transaction(TransactionOption.Required)] public class ContextUtil_IsInTransaction : ServicedComponent { public void Example() { // Display whether the current COM+ context is enlisted in a // transaction. Console.WriteLine("Current context enlisted in transaction: {0}", ContextUtil.IsInTransaction); } }
[Transaction(TransactionOption::Required)] public ref class ContextUtil_IsInTransaction: public ServicedComponent { public: void Example() { // Display whether the current COM+ context is enlisted in a // transaction. Console::WriteLine( "Current context enlisted in transaction: {0}", ContextUtil::IsInTransaction ); } };
/** @attribute Transaction(TransactionOption.Required) */ public class ContextUtil_IsInTransaction extends ServicedComponent { public void Example() { // Display whether the current COM+ context is enlisted in a // transaction. Console.WriteLine("Current context enlisted in transaction: {0}", System.Convert.ToString(ContextUtil.get_IsInTransaction())); } //Example } //ContextUtil_IsInTransaction


Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


Weblioに収録されているすべての辞書からContextUtil.IsInTransaction プロパティを検索する場合は、下記のリンクをクリックしてください。

- ContextUtil.IsInTransaction プロパティのページへのリンク