CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
soap_header_attribute.h
1
2#pragma once
3#include <system/attribute.h>
4#include <system/enum_helpers.h>
5#include <system/string.h>
6
7#include <net/web/services/protocol/soap_header_direction.h>
8
9namespace System { namespace Web { namespace Services { namespace Protocols {
10
15class ASPOSECPP_SHARED_CLASS SoapHeaderAttribute final : public System::Attribute
16{
21
23 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
25 ASPOSECPP_SHARED_RTTI_INFO_DECL();
26
27public:
30 ASPOSECPP_SHARED_API SoapHeaderDirection get_Direction();
33 ASPOSECPP_SHARED_API void set_Direction(SoapHeaderDirection value);
36 ASPOSECPP_SHARED_API String get_MemberName();
39 ASPOSECPP_SHARED_API void set_MemberName(String value);
45 [[deprecated]] ASPOSECPP_SHARED_API bool get_Required();
50 [[deprecated]] ASPOSECPP_SHARED_API void set_Required(bool value);
51
55 ASPOSECPP_SHARED_API SoapHeaderAttribute(String memberName);
56
57private:
59 SoapHeaderDirection direction;
61 String memberName;
64 bool required;
65};
66
67}}}} // namespace System::Web::Services::Protocols
A base class for custom attributes. Objects of this class should only be allocated using System::Make...
Definition: attribute.h:16
String class used across the library. Is a substitute for C# System.String when translating code....
Definition: string.h:122
Specifies the SOAP header that the XML Web service method or the XML Web service client can process....
Definition: soap_header_attribute.h:16
String get_MemberName()
Gets a member variable name of the XML SOAP service that is used to receive the SOAP header contents.
SoapHeaderAttribute(String memberName)
Constructs a new instance.
void set_Direction(SoapHeaderDirection value)
Sets the SOAP header direction.
void set_Required(bool value)
Sets a value that indicates if the SOAP header must be understood and processed by the recipient XML ...
void set_MemberName(String value)
Sets a member variable name of the XML SOAP service that is used to receive the SOAP header contents.
bool get_Required()
Gets a value that indicates if the SOAP header must be understood and processed by the recipient XML ...
SoapHeaderDirection get_Direction()
Gets the SOAP header direction.
SoapHeaderDirection
Enumerates the SOAP header directions.
Definition: soap_header_direction.h:9
Definition: db_command.h:9