public Int32 GetOption(ZFrameOption property) { Int32 result; ZError error; if (-1 == (result = GetOption(property, out error))) { throw new ZException(error); } return(result); }
public Int32 GetOption(ZFrameOption property, out ZError error) { error = ZError.None; int result; if (-1 == (result = zmq.msg_get(this.framePtr, (Int32)property))) { error = ZError.GetLastErr(); return(-1); } return(result); }
public Int32 GetOption(ZFrameOption property, out ZError error) { error = ZError.None; int result; if (-1 == (result = zmq.msg_get(this._framePtr, (Int32)property))) { error = ZError.GetLastErr(); return -1; } return result; }
public Int32 GetOption(ZFrameOption property) { Int32 result; ZError error; if (-1 == (result = GetOption(property, out error))) { throw new ZException(error); } return result; }