Publishes the attribute to the system.

C# |
public void Publish( ResourceAttribute attribute, bool throwOnFailure )

- attribute (ResourceAttribute)
- The attribute being published.
- throwOnFailure (Boolean)
- Indicates whether we want the method to throw an exception if it fails to publish the attribute.

The service may publish details about an attribute at anytime during its lifetime.

Exception | Condition |
---|---|
[SoamException] | If attribute could not be published and "throwOnFailure" is set to [true]. |

[ResourceAttribute]