ServiceJsonRpcDescriptor<T> Constructors

Definition

Overloads

ServiceJsonRpcDescriptor<T>(ServiceJsonRpcDescriptor<T>)

Initializes a new instance of the ServiceJsonRpcDescriptor<T> class and initializes all fields based on a template instance.

ServiceJsonRpcDescriptor<T>(ServiceMoniker, ServiceJsonRpcDescriptor+Formatters, ServiceJsonRpcDescriptor+MessageDelimiters)

Initializes a new instance of the ServiceJsonRpcDescriptor<T> class.

ServiceJsonRpcDescriptor<T>(ServiceMoniker, Type, ServiceJsonRpcDescriptor+Formatters, ServiceJsonRpcDescriptor+MessageDelimiters)

Initializes a new instance of the ServiceJsonRpcDescriptor<T> class.

ServiceJsonRpcDescriptor<T>(ServiceJsonRpcDescriptor<T>)

Initializes a new instance of the ServiceJsonRpcDescriptor<T> class and initializes all fields based on a template instance.

protected:
 ServiceJsonRpcDescriptor(Microsoft::ServiceHub::Framework::ServiceJsonRpcDescriptor<T> ^ copyFrom);
protected ServiceJsonRpcDescriptor (Microsoft.ServiceHub.Framework.ServiceJsonRpcDescriptor<T> copyFrom);
new Microsoft.ServiceHub.Framework.ServiceJsonRpcDescriptor<'T (requires 'T : null)> : Microsoft.ServiceHub.Framework.ServiceJsonRpcDescriptor<'T (requires 'T : null)> -> Microsoft.ServiceHub.Framework.ServiceJsonRpcDescriptor<'T (requires 'T : null)>
Protected Sub New (copyFrom As ServiceJsonRpcDescriptor(Of T))

Parameters

copyFrom
ServiceJsonRpcDescriptor<T>

The instance to copy all fields from.

Applies to

ServiceJsonRpcDescriptor<T>(ServiceMoniker, ServiceJsonRpcDescriptor+Formatters, ServiceJsonRpcDescriptor+MessageDelimiters)

Initializes a new instance of the ServiceJsonRpcDescriptor<T> class.

public:
 ServiceJsonRpcDescriptor(Microsoft::ServiceHub::Framework::ServiceMoniker ^ serviceMoniker, Microsoft::ServiceHub::Framework::ServiceJsonRpcDescriptor::Formatters formatter, Microsoft::ServiceHub::Framework::ServiceJsonRpcDescriptor::MessageDelimiters messageDelimiter);
public ServiceJsonRpcDescriptor (Microsoft.ServiceHub.Framework.ServiceMoniker serviceMoniker, Microsoft.ServiceHub.Framework.ServiceJsonRpcDescriptor.Formatters formatter, Microsoft.ServiceHub.Framework.ServiceJsonRpcDescriptor.MessageDelimiters messageDelimiter);
new Microsoft.ServiceHub.Framework.ServiceJsonRpcDescriptor<'T (requires 'T : null)> : Microsoft.ServiceHub.Framework.ServiceMoniker * Microsoft.ServiceHub.Framework.ServiceJsonRpcDescriptor.Formatters * Microsoft.ServiceHub.Framework.ServiceJsonRpcDescriptor.MessageDelimiters -> Microsoft.ServiceHub.Framework.ServiceJsonRpcDescriptor<'T (requires 'T : null)>
Public Sub New (serviceMoniker As ServiceMoniker, formatter As ServiceJsonRpcDescriptor.Formatters, messageDelimiter As ServiceJsonRpcDescriptor.MessageDelimiters)

Parameters

serviceMoniker
ServiceMoniker

The service moniker.

formatter
ServiceJsonRpcDescriptor.Formatters

The formatter to use for the JSON-RPC message.

messageDelimiter
ServiceJsonRpcDescriptor.MessageDelimiters

The message delimiter scheme to use.

Applies to

ServiceJsonRpcDescriptor<T>(ServiceMoniker, Type, ServiceJsonRpcDescriptor+Formatters, ServiceJsonRpcDescriptor+MessageDelimiters)

Initializes a new instance of the ServiceJsonRpcDescriptor<T> class.

public:
 ServiceJsonRpcDescriptor(Microsoft::ServiceHub::Framework::ServiceMoniker ^ serviceMoniker, Type ^ clientInterface, Microsoft::ServiceHub::Framework::ServiceJsonRpcDescriptor::Formatters formatter, Microsoft::ServiceHub::Framework::ServiceJsonRpcDescriptor::MessageDelimiters messageDelimiter);
public ServiceJsonRpcDescriptor (Microsoft.ServiceHub.Framework.ServiceMoniker serviceMoniker, Type? clientInterface, Microsoft.ServiceHub.Framework.ServiceJsonRpcDescriptor.Formatters formatter, Microsoft.ServiceHub.Framework.ServiceJsonRpcDescriptor.MessageDelimiters messageDelimiter);
new Microsoft.ServiceHub.Framework.ServiceJsonRpcDescriptor<'T (requires 'T : null)> : Microsoft.ServiceHub.Framework.ServiceMoniker * Type * Microsoft.ServiceHub.Framework.ServiceJsonRpcDescriptor.Formatters * Microsoft.ServiceHub.Framework.ServiceJsonRpcDescriptor.MessageDelimiters -> Microsoft.ServiceHub.Framework.ServiceJsonRpcDescriptor<'T (requires 'T : null)>
Public Sub New (serviceMoniker As ServiceMoniker, clientInterface As Type, formatter As ServiceJsonRpcDescriptor.Formatters, messageDelimiter As ServiceJsonRpcDescriptor.MessageDelimiters)

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.

formatter
ServiceJsonRpcDescriptor.Formatters

The formatter to use for the JSON-RPC message.

messageDelimiter
ServiceJsonRpcDescriptor.MessageDelimiters

The message delimiter scheme to use.

Applies to