| EventFormatterSetElement Method (String, Boolean) |
Note: This API is now obsolete.
Namespace: Bloomberglp.Blpapi
[ObsoleteAttribute("Deprecated, use SetElement(Name, bool) instead.")] public void SetElement( string name, bool value )
| Exception | Condition |
|---|---|
| InvalidOperationException | The operating stack is empty. |
| NotFoundException | The schema does not identify a 'name' sub-element of the current sequence or choice element, or the element identified by 'name' has already been set. |
| NotSupportedException | The current element in the stack is not a sequence or choice, or the element identified by 'name' has already been set. |
| InvalidConversionException | 'value' cannot be converted to the type specified by the schema for the 'name' sub-element. |