IVsWCFReferenceGroupDetails.GetGeneratedContractType 方法

返回协定的名称输入 windows 服务引用的通信基础 (WCF)。

命名空间:  Microsoft.VisualStudio.ManagedInterfaces9
程序集:  Microsoft.VisualStudio.ManagedInterfaces.WCF(在 Microsoft.VisualStudio.ManagedInterfaces.WCF.dll 中)

语法

声明
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

参数

  • name
    类型:String

    在 .wsdl 文件包含 PortType 名称的 String

  • namespaceUrl
    类型:String

    包含该 .wsdl 的文件 TargetNamespace conatins name定义的。 String

返回值

类型:String
包含协定类型名称的 String

.NET Framework 安全性

请参阅

参考

IVsWCFReferenceGroupDetails 接口

Microsoft.VisualStudio.ManagedInterfaces9 命名空间