次の方法で共有


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

'宣言
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: String
    A String that contains the name of a PortType in a .wsdl file.
  • namespaceUrl
    Type: String
    A String that contains the TargetNamespace of the .wsdl file that conatins the definition of name..

Return Value

Type: String
A String that contains the name of the contract type.

.NET Framework Security

See Also

Reference

IVsWCFReferenceGroupDetails Interface

Microsoft.VisualStudio.ManagedInterfaces9 Namespace