次の方法で共有


<system.serviceModel.activation>

この構成セクションは、SMSvcHost.exe ツールの構成設定を表します。構成要素は、SMSvcHost.exe.config ファイルで構成できます。特にここには、構成される必要があるコンピュータ全体のすべての設定が含まれます。

サンプル構成ファイル

次は、リスナ プロセス SMSvcHost.exe で使用されるサンプル構成ファイル (SMSvcHost.exe.config) です。

<configuration>
   <runtime>
      <gcConcurrent enabled="false" />
   </runtime>
   <system.serviceModel.activation>
       <net.tcp listenBacklog="10"
          maxConnectionsPendingDispatch="100"
          maxPendingAccepts="2"
          receiveTimeout="00:00:10"
          teredoEnabled="false">
          <allowAccounts>
             <!-- LocalSystem account -->
             <add securityIdentifier="S-1-5-18"/>
             <!-- LocalService account -->
             <add securityIdentifier="S-1-5-19"/>
             <!-- Network Service account -->
            <add securityIdentifier="S-1-5-20"/> 
             <!-- Administrators account -->
            <add securityIdentifier="S-1-5-32-544" /> 
             <!-- IIS_IUSRS account (Vista only) -->
             <add securityIdentifier="S-1-5-32-568"/>
           </allowAccounts>
       </net.tcp>
       <net.pipe maxConnectionsPendingDispatch="100"
          maxPendingAccepts="2"
          receiveTimeout="00:00:10">
          <allowAccounts>
             <!-- LocalSystem account -->
             <add securityIdentifier="S-1-5-18"/>
             <!-- LocalService account -->
             <add securityIdentifier="S-1-5-19"/>
             <!-- Network Service account -->
            <add securityIdentifier="S-1-5-20"/> 
             <!-- Administrators account -->
            <add securityIdentifier="S-1-5-32-544" /> 
             <!-- IIS_IUSRS account (Vista only) -->
             <add securityIdentifier="S-1-5-32-568"/>
           </allowAccounts>
       </net.pipe>
       <diagnostics performanceCountersEnabled="true" />
   </system.serviceModel.activation>
</configuration>

関連項目

リファレンス

System.ServiceModel.Activation.Configuration