Freigeben über


ServiceRpcDescriptor.RpcConnection Class

Definition

Represents an RPC connection.

public: ref class ServiceRpcDescriptor::RpcConnection abstract : IDisposable, Microsoft::IDisposableObservable
public abstract class ServiceRpcDescriptor.RpcConnection : IDisposable, Microsoft.IDisposableObservable
type ServiceRpcDescriptor.RpcConnection = class
    interface IDisposableObservable
    interface IDisposable
Public MustInherit Class ServiceRpcDescriptor.RpcConnection
Implements IDisposable, IDisposableObservable
Inheritance
ServiceRpcDescriptor.RpcConnection
Derived
Implements

Remarks

This object should self-dispose when the underlying IDuplexPipe completes.

Constructors

ServiceRpcDescriptor.RpcConnection()

Properties

Completion

Gets a Task that completes when the underlying RPC connection has shutdown and any local RPC target objects have been disposed of, if applicable.

IsDisposed

Gets a value indicating whether this instance has been disposed.

TraceSource

Gets or sets the TraceSource that receives log messages regarding the RPC connection.

Methods

AddLocalRpcTarget(Object)

Adds a target object to receive RPC calls.

ConstructRpcClient(Type)

Produces a proxy that provides a strongly-typed API for invoking methods offered by the remote party.

ConstructRpcClient<T>()

Produces a proxy that provides a strongly-typed API for invoking methods offered by the remote party.

Dispose()

Disconnects from the RPC pipe, and disposes of managed and native resources held by this instance.

StartListening()

Begins listening for incoming messages.

Applies to