<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ja">
	<id>https://monobook.org/w/index.php?action=history&amp;feed=atom&amp;title=TransactionScope_%E3%82%AF%E3%83%A9%E3%82%B9_%28System.Transactions%29</id>
	<title>TransactionScope クラス (System.Transactions) - 版の履歴</title>
	<link rel="self" type="application/atom+xml" href="https://monobook.org/w/index.php?action=history&amp;feed=atom&amp;title=TransactionScope_%E3%82%AF%E3%83%A9%E3%82%B9_%28System.Transactions%29"/>
	<link rel="alternate" type="text/html" href="https://monobook.org/w/index.php?title=TransactionScope_%E3%82%AF%E3%83%A9%E3%82%B9_(System.Transactions)&amp;action=history"/>
	<updated>2026-06-04T05:04:40Z</updated>
	<subtitle>このウィキのこのページに関する変更履歴</subtitle>
	<generator>MediaWiki 1.42.1</generator>
	<entry>
		<id>https://monobook.org/w/index.php?title=TransactionScope_%E3%82%AF%E3%83%A9%E3%82%B9_(System.Transactions)&amp;diff=346&amp;oldid=prev</id>
		<title>imported&gt;Administrator: System.Transactions.TransactionScopeをTransactionScope クラス (System.Transactions)へ移動</title>
		<link rel="alternate" type="text/html" href="https://monobook.org/w/index.php?title=TransactionScope_%E3%82%AF%E3%83%A9%E3%82%B9_(System.Transactions)&amp;diff=346&amp;oldid=prev"/>
		<updated>2012-03-14T00:46:22Z</updated>

		<summary type="html">&lt;p&gt;&lt;a href=&quot;/wiki/System.Transactions.TransactionScope&quot; class=&quot;mw-redirect&quot; title=&quot;System.Transactions.TransactionScope&quot;&gt;System.Transactions.TransactionScope&lt;/a&gt;を&lt;a href=&quot;/wiki/TransactionScope_%E3%82%AF%E3%83%A9%E3%82%B9_(System.Transactions)&quot; title=&quot;TransactionScope クラス (System.Transactions)&quot;&gt;TransactionScope クラス (System.Transactions)&lt;/a&gt;へ移動&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ja&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← 古い版&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2012年3月14日 (水) 00:46時点における版&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;ja&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(相違点なし)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>imported&gt;Administrator</name></author>
	</entry>
	<entry>
		<id>https://monobook.org/w/index.php?title=TransactionScope_%E3%82%AF%E3%83%A9%E3%82%B9_(System.Transactions)&amp;diff=345&amp;oldid=prev</id>
		<title>imported&gt;Administrator: ページの作成：「&#039;&#039;&#039;TransactionScope クラス&#039;&#039;&#039;は、コード ブロックをトランザクションにします。 このクラスは継承できません。  * 名前空間:  Syst...」</title>
		<link rel="alternate" type="text/html" href="https://monobook.org/w/index.php?title=TransactionScope_%E3%82%AF%E3%83%A9%E3%82%B9_(System.Transactions)&amp;diff=345&amp;oldid=prev"/>
		<updated>2012-03-07T04:57:42Z</updated>

		<summary type="html">&lt;p&gt;ページの作成：「&amp;#039;&amp;#039;&amp;#039;TransactionScope クラス&amp;#039;&amp;#039;&amp;#039;は、コード ブロックをトランザクションにします。 このクラスは継承できません。  * 名前空間:  Syst...」&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新規ページ&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;TransactionScope クラス&amp;#039;&amp;#039;&amp;#039;は、コード ブロックをトランザクションにします。 このクラスは継承できません。&lt;br /&gt;
&lt;br /&gt;
* 名前空間:  System.Transactions&lt;br /&gt;
* アセンブリ:  System.Transactions (System.Transactions.dll 内)&lt;br /&gt;
&lt;br /&gt;
== 設定 ==&lt;br /&gt;
TransactionScopeクラスのコンストラクタで明示的に各種トランザクション設定を指定することもできるが、面倒なので[[App.config]]や[[Web.config]]で設定しておいた方がいい。&lt;br /&gt;
&lt;br /&gt;
=== タイムアウト ===&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;configuration&amp;gt;&lt;br /&gt;
  &amp;lt;system.transactions&amp;gt;&lt;br /&gt;
    &amp;lt;!-- トランザクションがタイムアウトするまでの時間。&lt;br /&gt;
         デフォルトが何秒かは知らなないが、負荷テストですぐにタイムアウトエラーが&lt;br /&gt;
         発生したので数秒だと思う。&lt;br /&gt;
    --&amp;gt;&lt;br /&gt;
    &amp;lt;defaultSettings timeout=&amp;quot;00:03:00&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/configuration&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
なお、[[Machine.config]]に上記timeoutに設定できる最大値（maxTimeout）が設定されいる。&lt;br /&gt;
たちの悪いことに、timeout=30分、maxTimeout=1分と設定しても、実行時にtimeoutの値が強制的に1分（maxTimeoutの値）に置き換えられるだけでエラーにはならないのでハマった。&lt;br /&gt;
&lt;br /&gt;
== 関連項目 ==&lt;br /&gt;
* [[Dapper]]&lt;br /&gt;
* [[MySQL Connector/NET]]&lt;br /&gt;
&lt;br /&gt;
== 外部リンク ==&lt;br /&gt;
* http://msdn.microsoft.com/ja-jp/library/system.transactions.transactionscope.aspx&lt;br /&gt;
&lt;br /&gt;
{{stub}}&lt;/div&gt;</summary>
		<author><name>imported&gt;Administrator</name></author>
	</entry>
</feed>