ServiceHostingEnvironment クラス

定義

Windows Communication Foundation (WCF) サービスが実行されている現在のホスティング環境に関する情報を提供します。

public ref class ServiceHostingEnvironment abstract sealed
public static class ServiceHostingEnvironment
type ServiceHostingEnvironment = class
Public Class ServiceHostingEnvironment
継承
ServiceHostingEnvironment

注釈

このクラスは、個々のサービスに特に関連付けられていない AppDomain 全体の設定を公開します。 このクラスは、アプリケーションまたはマシンの構成レベルでのみ適用できます。

プロパティ

名前 説明
AspNetCompatibilityEnabled

ASP.NET HTTP アプリケーション パイプラインのコンテキストでこのサービスが実行されているかどうかを示す値を取得します。

MultipleSiteBindingsEnabled

サービス ホストに対して複数のサイト バインドを許可するかどうかを指定する値を取得または設定します。

メソッド

名前 説明
EnsureInitialized()

まだ初期化されていない場合は、サービスを初期化します。

EnsureServiceAvailable(String)

指定された仮想パスでサービスがアクティブ化されていることを確認します。

適用対象