WebLogic Messaging API Class Library |

# IMapMessage.SetBoolean Method

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

void SetBoolean(
String name,
Boolean value
);

#### Parameters

String
  the name of the `boolean`
Boolean
  the `boolean` 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