Partager via


ServiceRpcDescriptor Constructors

Definition

Overloads

ServiceRpcDescriptor(ServiceRpcDescriptor)

Initializes a new instance of the ServiceRpcDescriptor class and initializes all fields based on a template instance.

ServiceRpcDescriptor(ServiceMoniker, Type)

Initializes a new instance of the ServiceRpcDescriptor class.

ServiceRpcDescriptor(ServiceRpcDescriptor)

Initializes a new instance of the ServiceRpcDescriptor class and initializes all fields based on a template instance.

protected:
 ServiceRpcDescriptor(Microsoft::ServiceHub::Framework::ServiceRpcDescriptor ^ copyFrom);
protected ServiceRpcDescriptor (Microsoft.ServiceHub.Framework.ServiceRpcDescriptor copyFrom);
new Microsoft.ServiceHub.Framework.ServiceRpcDescriptor : Microsoft.ServiceHub.Framework.ServiceRpcDescriptor -> Microsoft.ServiceHub.Framework.ServiceRpcDescriptor
Protected Sub New (copyFrom As ServiceRpcDescriptor)

Parameters

copyFrom
ServiceRpcDescriptor

The instance to copy all fields from.

Applies to

ServiceRpcDescriptor(ServiceMoniker, Type)

Initializes a new instance of the ServiceRpcDescriptor class.

public:
 ServiceRpcDescriptor(Microsoft::ServiceHub::Framework::ServiceMoniker ^ serviceMoniker, Type ^ clientInterface);
public ServiceRpcDescriptor (Microsoft.ServiceHub.Framework.ServiceMoniker serviceMoniker, Type? clientInterface);
new Microsoft.ServiceHub.Framework.ServiceRpcDescriptor : Microsoft.ServiceHub.Framework.ServiceMoniker * Type -> Microsoft.ServiceHub.Framework.ServiceRpcDescriptor
Public Sub New (serviceMoniker As ServiceMoniker, clientInterface As Type)

Parameters

serviceMoniker
ServiceMoniker

The service moniker.

clientInterface
Type

The interface type that the client's "callback" RPC target is expected to implement. May be null if the service does not invoke methods on the client.

Applies to