NotificationHubClient.EnableTestSend Property

Definition

Gets or sets a value indicating whether the client enables a test send.

public bool EnableTestSend { get; }
member this.EnableTestSend : bool
Public ReadOnly Property EnableTestSend As Boolean

Property Value

true if the client enables a test send; otherwise, false.

Remarks

When test send is enabled, the following occurs:

  • All notifications only reach up to 10 devices for each send call.
  • The Send* methods return a list of the outcomes for all those notification deliveries. The possible outcomes are the same as displayed in telemetry. Outcomes includes things like authentication errors, throttling errors, successful deliveries, and so on.

This mode is for test purposes only, not for production, and is throttled.

Applies to