次の方法で共有


WcfServiceRemotingProviderAttribute クラス

定義

この属性を使用すると、WCF トランスポートをアセンブリ内の既定のサービス リモート処理トランスポート プロバイダーとして設定し、そのカスタマイズを行うことができます。

[System.AttributeUsage(System.AttributeTargets.Assembly)]
public sealed class WcfServiceRemotingProviderAttribute : Microsoft.ServiceFabric.Services.Remoting.ServiceRemotingProviderAttribute
[<System.AttributeUsage(System.AttributeTargets.Assembly)>]
type WcfServiceRemotingProviderAttribute = class
    inherit ServiceRemotingProviderAttribute
Public NotInheritable Class WcfServiceRemotingProviderAttribute
Inherits ServiceRemotingProviderAttribute
継承
WcfServiceRemotingProviderAttribute
属性

コンストラクター

WcfServiceRemotingProviderAttribute()

WcfServiceRemotingProviderAttribute クラスの新しいインスタンスを初期化します。

プロパティ

CloseTimeoutInMilliSeconds

既存のメッセージがドレインされるように接続を閉じる前に待機するタイムアウトをミリ秒単位で取得または設定します。

MaxMessageSize

リモート処理で転送できる最大メッセージ サイズを取得または設定します。

OpenTimeoutInMilliSeconds

クライアント側から接続を開き、リスナーがサービス側で開くのを待機するためのタイムアウトをミリ秒単位で取得または設定します。

RemotingClientVersion

使用するリモート処理クライアントのバージョンを取得または設定します。

(継承元 ServiceRemotingProviderAttribute)
RemotingListenerVersion

リモート処理リスナーが使用するバージョンを取得または設定します。

(継承元 ServiceRemotingProviderAttribute)

メソッド

CreateServiceRemotingClientFactory(IServiceRemotingCallbackClient)

によって使用 ServiceProxyFactory され、サービスのリモート インターフェイスのプロキシを作成できる V1 サービス リモート処理クライアント ファクトリを作成します。

CreateServiceRemotingClientFactoryV2(IServiceRemotingCallbackMessageHandler)

によって使用 ServiceProxyFactory できるサービス リモート処理クライアント ファクトリを作成し、サービスのリモート インターフェイスのプロキシを作成します。

CreateServiceRemotingListener(ServiceContext, IService)

サービス インターフェイスをリモート処理するための V1 サービス リモート処理リスナーを作成します。

CreateServiceRemotingListeners()

リモート処理リスナーを作成する func メソッドを返します。

適用対象