CreateObjectMessage() public method

public CreateObjectMessage ( object body ) : IObjectMessage
body object
return IObjectMessage
 public IObjectMessage CreateObjectMessage(object body)
 {
     return(session.CreateObjectMessage(body));
 }
 public IObjectMessage CreateObjectMessage(object body)
 {
     CheckClosed();
     return(session.CreateObjectMessage(body));
 }