Bearbeiten

Freigeben über


OperationInfo.ContractName Property

Definition

Gets or sets the full name of the contract that defines this operation.

public:
 property System::String ^ ContractName { System::String ^ get(); void set(System::String ^ value); };
public string ContractName { get; set; }
member this.ContractName : string with get, set
Public Property ContractName As String

Property Value

A string that represents the full name of the contract that defines the operation.

Examples

The following example demonstrates how to access the ContractName property.

OperationInfo info = new OperationInfo();
info.ContractName = "Contract1";
Dim info As New OperationInfo()
info.ContractName = "Contract1"

Applies to