Share via


IVsWCFReferenceEndpoint.GetContract Method

Returns the endpoint Contract from the configuration file.

Namespace:  Microsoft.VisualStudio.WCFReference.Interop
Assembly:  Microsoft.VisualStudio.WCFReference.Interop (in Microsoft.VisualStudio.WCFReference.Interop.dll)

Syntax

'Declaration
Function GetContract As String
string GetContract()
String^ GetContract()
abstract GetContract : unit -> string 
function GetContract() : String

Return Value

Type: System.String
A String that contains the Contract.

.NET Framework Security

See Also

Reference

IVsWCFReferenceEndpoint Interface

Microsoft.VisualStudio.WCFReference.Interop Namespace