ServiceRpcDescriptor.Clone 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.
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.