This documentation is archived and is not being maintained.

OperationInfo.ContractName Property

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

Namespace:  System.Workflow.Activities
Assembly:  System.WorkflowServices (in System.WorkflowServices.dll)

public string ContractName { get; set; }

Property Value

Type: System.String
A string that represents the full name of the contract that defines the operation.

The following example demonstrates how to access the ContractName property.

OperationInfo info = new OperationInfo();
info.ContractName = "Contract1";

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5