RemotingConfiguration.ApplicationName プロパティとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > RemotingConfiguration.ApplicationName プロパティの意味・解説 

RemotingConfiguration.ApplicationName プロパティ

リモート処理アプリケーションの名前を取得または設定します

名前空間: System.Runtime.Remoting
アセンブリ: mscorlib (mscorlib.dll 内)
構文構文

Public Shared Property ApplicationName
 As String
Dim value As String

value = RemotingConfiguration.ApplicationName

RemotingConfiguration.ApplicationName = value
public static string ApplicationName
 { get; set; }
public:
static property String^ ApplicationName {
    String^ get ();
    void set (String^ value);
}
/** @property */
public static String get_ApplicationName ()

/** @property */
public static void set_ApplicationName
 (String value)
public static function get
 ApplicationName () : String

public static function set
 ApplicationName (value : String)

プロパティ
リモート処理アプリケーションの名前。

例外例外
解説解説
使用例使用例

ApplicationName プロパティ使用してリモート処理アプリケーションの名前を示す方法コード例次に示しますプログラム例全体については、RegisterWellKnownClientType メソッドと RegisterWellKnownServiceType メソッドの各トピックの例を参照してください

ChannelServices.RegisterChannel(New TcpChannel(8082))

RemotingConfiguration.ApplicationName = "HelloServiceApplication"

RemotingConfiguration.RegisterWellKnownServiceType(GetType(HelloService),
 "MyUri", WellKnownObjectMode.SingleCall)
ChannelServices.RegisterChannel(new TcpChannel(8082));

RemotingConfiguration.ApplicationName = "HelloServiceApplication";

RemotingConfiguration.RegisterWellKnownServiceType( typeof(HelloService),
                                                    "MyUri",
                                                    WellKnownObjectMode.SingleCall
 
                                                  );
ChannelServices::RegisterChannel( gcnew TcpChannel( 8082 ) );
RemotingConfiguration::ApplicationName = "HelloServiceApplication";
RemotingConfiguration::RegisterWellKnownServiceType( HelloService::typeid,
                                                     "MyUri",
                                                     WellKnownObjectMode::SingleCall
 );
ChannelServices.RegisterChannel(new TcpChannel(8082));

RemotingConfiguration.set_ApplicationName("HelloServiceApplication");

RemotingConfiguration.RegisterWellKnownServiceType
    (HelloService.class.ToType(), "MyUri", 
    WellKnownObjectMode.SingleCall);

名前を指定したアプリケーションからリモート オブジェクトアクセスする方法コード例次に示します

ChannelServices.RegisterChannel(New TcpChannel())

RemotingConfiguration.RegisterWellKnownClientType(GetType(HelloService),
 "tcp://localhost:8082/HelloServiceApplication/MyUri")

Dim service As New HelloService()
ChannelServices.RegisterChannel(new TcpChannel());

RemotingConfiguration.RegisterWellKnownClientType(
                                                   typeof(HelloService),
                                                   "tcp://localhost:8082/HelloServiceApplication/MyUri"
                                                 );

HelloService service = new HelloService();
ChannelServices::RegisterChannel( gcnew TcpChannel );
RemotingConfiguration::RegisterWellKnownClientType( HelloService::typeid,
                                                    "tcp://localhost:8082/HelloServiceApplication/MyUri"
 );
HelloService ^ service = gcnew HelloService;
ChannelServices.RegisterChannel(new TcpChannel());

RemotingConfiguration.RegisterWellKnownClientType
    (HelloService.class.ToType(),
    "tcp://localhost:8082/HelloServiceApplication/MyUri");
HelloService service = new HelloService();
.NET Framework のセキュリティ.NET Frameworkセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
RemotingConfiguration クラス
RemotingConfiguration メンバ
System.Runtime.Remoting 名前空間



英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

RemotingConfiguration.ApplicationName プロパティのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



RemotingConfiguration.ApplicationName プロパティのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2025 Microsoft.All rights reserved.

©2025 GRAS Group, Inc.RSS