共用方式為


WcfCommunicationClient<TServiceContract> Class

Definition

A WCF client created by WcfCommunicationClientFactory<TServiceContract> to communicate with a Service Fabric service using WcfCommunicationListener<TServiceContract>.

public class WcfCommunicationClient<TServiceContract> : Microsoft.ServiceFabric.Services.Communication.Client.ICommunicationClient where TServiceContract : class
type WcfCommunicationClient<'ServiceContract (requires 'ServiceContract : null)> = class
    interface ICommunicationClient
Public Class WcfCommunicationClient(Of TServiceContract)
Implements ICommunicationClient

Type Parameters

TServiceContract

WCF service contract

Inheritance
WcfCommunicationClient<TServiceContract>
Implements

Properties

Channel

Gets the WCF channel for the specified contract that this communication client uses.

Endpoint

Gets or sets the service endpoint to which the client is connected to.

ListenerName

Gets or sets the name of the listener in the service replica or instance to which the client is connected to.

ResolvedServicePartition

Gets or sets the resolved service partition which contains information about the partition and the endpoints that can be used to communication with the service replica or instance.

Methods

Finalize()

Finalizes an instance of the WcfCommunicationClient<TServiceContract> class.

Applies to