IVsWCFReferenceGroupDetails.GetGeneratedContractType Method
Returns the name of a contract type in a Windows Communication Foundation (WCF) service reference.
Namespace: Microsoft.VisualStudio.ManagedInterfaces9
Assembly: Microsoft.VisualStudio.ManagedInterfaces.WCF (in Microsoft.VisualStudio.ManagedInterfaces.WCF.dll)
Syntax
'Declaration
Function GetGeneratedContractType ( _
name As String, _
namespaceUrl As String _
) As String
string GetGeneratedContractType(
string name,
string namespaceUrl
)
String^ GetGeneratedContractType(
String^ name,
String^ namespaceUrl
)
abstract GetGeneratedContractType :
name:string *
namespaceUrl:string -> string
function GetGeneratedContractType(
name : String,
namespaceUrl : String
) : String
Parameters
name
Type: System.StringA String that contains the name of a PortType in a .wsdl file.
namespaceUrl
Type: System.StringA String that contains the TargetNamespace of the .wsdl file that conatins the definition of name..
Return Value
Type: System.String
A String that contains the name of the contract type.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.