Méthode | Description | |
---|---|---|
DeleteAsync ( Message message, |
Deletes the specified message from its online inbox so it won't be retrieved again.
|
|
PostAsync ( Message message, IProgress |
Sends the specified dart to the recipients specified in the message.
|
|
PostalService ( ) : System |
Initializes a new instance of the PostalService class.
|
|
PostalService ( Channel channel ) : System |
Initializes a new instance of the PostalService class.
|
|
ReceiveAsync ( bool longPoll = false, bool purgeUnsupportedMessages = false, IProgress |
Retrieves all messages waiting for pickup at our endpoint.
|
Méthode | Description | |
---|---|---|
FromPayload ( Channel payloadReceipt ) : MessageReceipt |
Extracts a message from its serialized payload wrapper.
|
public DeleteAsync ( Message message, |
||
message | Message | The message to delete from its online location. |
cancellationToken | The cancellation token. | |
Résultat | Task |
public PostAsync ( Message message, IProgress |
||
message | Message | The dart to send. |
bytesCopiedProgress | IProgress |
Progress feedback in terms of bytes uploaded. |
cancellationToken | The cancellation token. | |
Résultat | Task |
public PostalService ( Channel channel ) : System | ||
channel | Channel | The channel. |
Résultat | System |
public ReceiveAsync ( bool longPoll = false, bool purgeUnsupportedMessages = false, IProgress |
||
longPoll | bool | if set to |
purgeUnsupportedMessages | bool | A value indicating whether to purge any messages that are not Dart messages. False will skip the messages but will not delete them from the server. |
progress | IProgress |
A callback to invoke for each downloaded message as it arrives. |
cancellationToken | The cancellation token. | |
Résultat | Task |