Solclient
IMapContainerAddUnknownField Method |
Adds a IUnknownSDTField field with a given name.
An unknown field is by definition a valid SDT field, that's not known to the current version of the API.
Namespace: SolaceSystems.Solclient.Messaging.SDT
Assembly: SolaceSystems.Solclient.Messaging (in SolaceSystems.Solclient.Messaging.dll) Version: 7.2.1.27 (7.2.1.27)
Syntax
void AddUnknownField( string name, IUnknownSDTField field )
Sub AddUnknownField ( name As String, field As IUnknownSDTField )
void AddUnknownField( String^ name, IUnknownSDTField^ field )
Parameters
- name
- Type: SystemString
Field name; cannot be null. - field
- Type: SolaceSystems.Solclient.Messaging.SDTIUnknownSDTField
IUnknownSDTField instance
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Thrown when the input parameter is null. |
InvalidOperationException | Thrown when the container is already closed. |
OperationErrorException | Thrown when an error occurs. In this case ReturnCode and SDKErrorInfo are accessible from OperationErrorException and contain more information. |
FatalErrorException | Thrown when an unrecoverable error occurs. |
See Also