ContractDescription.Operations Property


Gets the collection of operation descriptions associated with the contract.

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

Public ReadOnly Property Operations As OperationDescriptionCollection

Property Value

Type: System.ServiceModel.Description.OperationDescriptionCollection

The OperationDescriptionCollection that contains the operation descriptions associated with the contract description.

Dim odc As OperationDescriptionCollection = cd.Operations
Console.WriteLine(Constants.vbTab & "Display Operations:")
For Each od As OperationDescription In odc
	Console.WriteLine(Constants.vbTab + Constants.vbTab + od.Name)
Next od

Universal Windows Platform
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top