System::Web::Services::Protocols::SoapDocumentServiceAttribute 类
SoapDocumentServiceAttribute class
设置 SOAP 请求和响应的默认格式。此类的对象只能使用 System::MakeObject() 函数分配。切勿在栈上或使用 operator new 创建此类型的实例,因为这会导致运行时错误和/或断言故障。始终将此类包装到 System::SmartPtr 指针中,并使用该指针将其作为参数传递给函数。
class SoapDocumentServiceAttribute : public System::Attribute
方法
| 方法 | 描述 |
|---|---|
| get_ParameterStyle() | RTTI 信息。 |
| get_RoutingStyle() | 获取一个值,显示 SOAP 消息如何路由到服务。 |
| get_Use() | 获取参数的格式化方式。 |
| set_ParameterStyle(SoapParameterStyle) | 设置一个值,指示参数是否封装在位于 ‘Body’ 元素下的单个 XML 元素中。 |
| set_RoutingStyle(SoapServiceRoutingStyle) | 设置一个值,显示 SOAP 消息如何路由到服务。 |
| set_Use(Description::SoapBindingUse) | 设置参数的格式化方式。 |
| SoapDocumentServiceAttribute() | 构造一个新实例。 |
| SoapDocumentServiceAttribute(Description::SoapBindingUse) | 构造一个新实例。 |
| SoapDocumentServiceAttribute(Description::SoapBindingUse, SoapParameterStyle) | 构造一个新实例。 |
另见
- Class Attribute
- Namespace System::Web::Services::Protocols
- Library Aspose.Font for C++