WebLogic Messaging API Class Library |

# IMapMessage.SetByte Method

Sets a `sbyte` value with the specified name into the Map.

void SetByte(
String name,
SByte value
);

#### Parameters

String
  the name of the `byte`
SByte
  the `sbyte` value to set in the Map

#### Exceptions

Exception Type | Condition
--- | ---
MessageException | if JMS fails to write the message due to some internal error.
ArgumentException | if the name is null or if the name is an empty string.
MessageNotWriteableException | if the message is in read-only mode.

#### See Also

IMapMessage Interface | WebLogic.Messaging Namespace