Export (0) Print
Expand All
Expand Minimize

Contract

Contract

Syntax

class Contract
{
  sint32 AppDomainId;
  Behavior Behaviors[];
  string Name;
  string Namespace;
  Operation Operations[];
  sint32 ProcessId;
  Contract ref;
  string SessionMode;
  string Type;
};

Methods

The Contract class does not define any methods.

Properties

The Contract class has the following properties:

AppDomainId

Data type: sint32

Access type: Read-only

The appdomain id of the appdomain that hosts the contract.

Behaviors

Data type: Behavior array

Access type: Read-only

The behaviors associated with this contract.

Name

Data type: string

Access type: Read-only

The name of the contract in WSDL.

Namespace

Data type: string

Access type: Read-only

The namespace of the portType element in WSDL.

Operations

Data type: Operation array

Access type: Read-only

The operations of this contract.

ProcessId

Data type: sint32

Access type: Read-only

The process Id of the process that hosts the contract.

ref

Data type: Contract

Access type: Read-only

The type of callback when the contract is a duplex contract.

SessionMode

Data type: string

Access type: Read-only

Indicates whether the contract requires the binding associated with this contract to use channel sessions.

Type

Data type: string

Access type: Read-only

The type of the contract.

Requirements

MOF Declared in Servicemodel.mof.

Namespace

Defined in root\ServiceModel

See Also

Community Additions

ADD
Show:
© 2014 Microsoft