ServiceType 类
定义
将传递到 Web 服务描述语言 (WSDL) 生成器的已知对象类型与可以处理发送给该类型上方法的消息的远程终结点相关联。Associates a well-known object type that is passed to the Web Services Description Language (WSDL) generator with a remote endpoint that can process messages that are sent to a method on the type.
public ref class ServiceType
public class ServiceType
type ServiceType = class
Public Class ServiceType
- 继承
-
ServiceType
注解
ServiceType类用于通过参数将在命令行上指定的信息保存到Soapsuds 工具(Soapsuds.exe) -types 。The ServiceType class is used to hold information that is specified on the command line to the Soapsuds Tool (Soapsuds.exe) through the -types argument.
构造函数
| ServiceType(Type) |
使用传递到 Web 服务描述语言 (WSDL) 生成器的对象 ServiceType 初始化 Type 类的新实例。Initializes a new instance of the ServiceType class with the object Type that is passed to the Web Services Description Language (WSDL) generator. |
| ServiceType(Type, String) |
使用该 URL 和传递到 Web 服务描述语言 (WSDL) 生成器的对象 ServiceType 初始化 Type 类的新实例。Initializes a new instance of the ServiceType class with the URL and Type of an object that is passed to the Web Services Description Language (WSDL) generator. |
属性
| ObjectType |
获取传递到 Web 服务描述语言 (WSDL) 生成器的对象 Type。Gets the object Type that is passed to the Web Services Description Language (WSDL) generator. |
| Url |
获取传递到 Web 服务描述语言 (WSDL) 生成器的对象 Type 的 URL。Gets the URL of an object Type that is passed to the Web Services Description Language (WSDL) generator. |
方法
| Equals(Object) |
确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object. (继承自 Object) |
| GetHashCode() |
作为默认哈希函数。Serves as the default hash function. (继承自 Object) |
| GetType() |
获取当前实例的 Type。Gets the Type of the current instance. (继承自 Object) |
| MemberwiseClone() |
创建当前 Object 的浅表副本。Creates a shallow copy of the current Object. (继承自 Object) |
| ToString() |
返回表示当前对象的字符串。Returns a string that represents the current object. (继承自 Object) |