NotificationHubClient.EnableTestSend Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET