Receive.ServiceContractName Property

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets or sets the name of the service contract.

Namespace:   System.ServiceModel.Activities
Assembly:  System.ServiceModel.Activities (in System.ServiceModel.Activities.dll)

public XName ServiceContractName { get; set; }

Property Value

Type: System.Xml.Linq.XName

The service contract name.

This property is used to group service operations into individual service contracts. All Receive activities that have the same ServiceContractName are grouped into the same service contract (WSDL PortType). This property defaults to the name of the workflow service.

.NET Framework
Available since 4.0
Return to top