private InternalSendAsync ( byte message, uint id ) : Task | ||
message | byte | |
id | uint | |
Résultat | Task |
/// <summary> /// Reply to the message /// </summary> /// <param name="message">the reply message data</param> /// <exception cref="InvalidOperationException">non-replyable message</exception> public Task ReplyAsync(byte[] message) { if (_id == null) { throw new InvalidOperationException("Sender did not provide reply information"); } return(_client.InternalSendAsync(message, _id)); }