OperationInfo.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 the object.
public:
override System::Workflow::Activities::OperationInfoBase ^ Clone();
public override System.Workflow.Activities.OperationInfoBase Clone ();
override this.Clone : unit -> System.Workflow.Activities.OperationInfoBase
Public Overrides Function Clone () As OperationInfoBase
Returns
The copy of the OperationInfo object.
Examples
The following example demonstrates how to use the Clone
method.
OperationInfo info1 = new OperationInfo();
OperationInfo info2 = (OperationInfo)info1.Clone();
Dim info1 As New OperationInfo()
Dim info2 As OperationInfo = CType(info1.Clone(), OperationInfo)
Remarks
This method creates a deep copy of the OperationInfo object, with the same ContractName, IsOneWay, Parameters, and ProtectionLevel values.
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.