HOW TO:在 IIS 中設定遠端用戶端
下列範例會在 IIS 中設定遠端用戶端。 <client> 標記中的 url 屬性指向遠端應用程式的位置。 這個位置是應用程式需要用戶端啟動物件時將使用的位置。 每一個伺服器啟動物件都需擁有一個指向物件位置的特定 URL。
範例
<configuration>
<system.runtime.remoting>
<application>
<client
url = "http://www. cpandl.com"
displayName="MyApplication"
>
<wellknown
type = "myType,myAssembly"
url = http://www. cpandl.com/myType.soap"
/>
<activated
type = "myClientActivatedType,myAssembly"
/>
</client>
</application>
</system.runtime.remoting>
</configuration>
請參閱
參考
System.Runtime.Remoting.RemotingConfiguration Class
概念
其他資源
使用組態檔註冊遠端物件
NET Framework 遠端處理概觀
Copyright © 2007 by Microsoft Corporation. All rights reserved.