ServiceRpcDescriptor.Clone Method

Definition

Creates a copy of this instance with all the same properties.

protected:
 abstract Microsoft::ServiceHub::Framework::ServiceRpcDescriptor ^ Clone();
protected abstract Microsoft.ServiceHub.Framework.ServiceRpcDescriptor Clone ();
abstract member Clone : unit -> Microsoft.ServiceHub.Framework.ServiceRpcDescriptor
Protected MustOverride Function Clone () As ServiceRpcDescriptor

Returns

The copy.

Remarks

Derived types should override this method to create a new instance of their own type, using the ServiceRpcDescriptor(ServiceRpcDescriptor) copy constructor, then copy all their unique properties from this instance to the new one before returning the new one.

Applies to