SoapServerType(Type, WebServiceProtocols) 构造函数

定义

初始化 SoapServerType 类的新实例。Initializes a new instance of the SoapServerType class.

public:
 SoapServerType(Type ^ type, System::Web::Services::Configuration::WebServiceProtocols protocolsSupported);
public SoapServerType (Type type, System.Web.Services.Configuration.WebServiceProtocols protocolsSupported);
new System.Web.Services.Protocols.SoapServerType : Type * System.Web.Services.Configuration.WebServiceProtocols -> System.Web.Services.Protocols.SoapServerType
Public Sub New (type As Type, protocolsSupported As WebServiceProtocols)

参数

type
Type

作为此 XML Web services 的基础的 TypeThe Type on which this XML Web service is based.

protocolsSupported
WebServiceProtocols

一个 WebServiceProtocols 值,它指定用于解密 XML Web services 请求中所发送的数据的传输协议。A WebServiceProtocols value that specifies the transmission protocols that are used to decrypt data sent in the XML Web service request.

适用于