共用方式為


Receiver<T> Class

Definition

Contains methods that services can use to perform receive operations.

public abstract class Receiver<T>
type Receiver<'T> = class
Public MustInherit Class Receiver(Of T)

Type Parameters

T
Inheritance
Receiver<T>
Derived

Constructors

Receiver<T>()

Methods

AbandonAsync(T, CancellationToken)

Puts a received message back into the queue.

AbandonAsync(T)
Obsolete.

Puts a received message back into the queue.

CompleteAsync(T, CancellationToken)

Deletes a received message from the queue.

CompleteAsync(T)
Obsolete.

Deletes a received message from the queue.

ReceiveAsync()
Obsolete.

Receive a message using the default timeout.

ReceiveAsync(CancellationToken)

Receives a message.

ReceiveAsync(TimeSpan)
Obsolete.

Receives a message.

Applies to