ServiceRpcDescriptor.WithServiceMoniker(ServiceMoniker) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns an instance of ServiceRpcDescriptor that resembles this one, but with the ServiceMoniker property set to the specified value.
public Microsoft.ServiceHub.Framework.ServiceRpcDescriptor WithServiceMoniker (Microsoft.ServiceHub.Framework.ServiceMoniker moniker);
member this.WithServiceMoniker : Microsoft.ServiceHub.Framework.ServiceMoniker -> Microsoft.ServiceHub.Framework.ServiceRpcDescriptor
Public Function WithServiceMoniker (moniker As ServiceMoniker) As ServiceRpcDescriptor
Parameters
- moniker
- ServiceMoniker
The moniker to be used in place of the original.
Returns
A clone of this instance, with the property changed. Or this same instance if the property already matches.