public bool tryBool(
string name,
ushort fid,
ref bool result)
{
EnsurePeerCreated();
bool val = false;
int code = NativeMethods.mamaMsg_getBool(nativeHandle, name, fid, ref val);
if (CheckResultCodeIgnoreNotFound(code) != MamaStatus.mamaStatus.MAMA_STATUS_OK)
{
return false;
}
result = val;
return true;
}