## WebServiceAttribute class


Adds additional information to the XML [Web](../../system.web/) service. Objects of this class should only be allocated using [System::MakeObject()](../../system/makeobject/) function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into [System::SmartPtr](../../system/smartptr/) pointer and use this pointer to pass it to functions as argument.

```cpp
class WebServiceAttribute : public System::Attribute
```

## Methods

| Method | Description |
| --- | --- |
| [get_Description](./get_description/)() | Gets a message that contains the XML [Web](../../system.web/) service description. |
| [get_Name](./get_name/)() | Gets the XML [Web](../../system.web/) service's name. |
| [get_Namespace](./get_namespace/)() | Gets the default namespace to use for the XML [Web](../../system.web/) service. |
| [set_Description](./set_description/)(String) | Sets a message that contains the XML [Web](../../system.web/) service description. |
| [set_Name](./set_name/)(String) | Sets the XML [Web](../../system.web/) service's name. |
| [set_Namespace](./set_namespace/)(String) | Sets the default namespace to use for the XML [Web](../../system.web/) service. |
| [WebServiceAttribute](./webserviceattribute/)() | Constructs a new instance. |
## Fields

| Field | Description |
| --- | --- |
| static [DefaultNamespace](./defaultnamespace/) | RTTI information. |
## See Also

* Class [Attribute](../../system/attribute/)
* Namespace [System::Web::Services](../)
* Library [Aspose.Font for C++](../../)
