ContextUtil.DisableCommit メソッド
アセンブリ: System.EnterpriseServices (system.enterpriseservices.dll 内)
構文
例外
解説
使用例DisableCommit メソッドを呼び出すコード例を次に示します。
<Transaction(TransactionOption.Required)> _ Public Class ContextUtil_DisableCommit Inherits ServicedComponent Public Sub Example() ' Set both the consistent bit and the done bit to false for the ' current COM+ context. ContextUtil.DisableCommit() End Sub 'Example End Class 'ContextUtil_DisableCommit
[Transaction(TransactionOption.Required)] public class ContextUtil_DisableCommit : ServicedComponent { public void Example() { // Set both the consistent bit and the done bit to false for the // current COM+ context. ContextUtil.DisableCommit(); } }
[Transaction(TransactionOption::Required)] public ref class ContextUtil_DisableCommit: public ServicedComponent { public: void Example() { // Set both the consistent bit and the done bit to false for the // current COM+ context. ContextUtil::DisableCommit(); } };
/** @attribute Transaction(TransactionOption.Required) */ public class ContextUtil_DisableCommit extends ServicedComponent { public void Example() { // Set both the consistent bit and the done bit to false for the // current COM+ context. ContextUtil.DisableCommit(); } //Example } //ContextUtil_DisableCommit
.NET Framework のセキュリティ
プラットフォーム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 によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
バージョン情報
参照- ContextUtil.DisableCommit メソッドのページへのリンク