Exportera (0) Skriv ut
Visa allt
Det här innehållet finns inte tillgängligt på ditt språk men här finns den engelska versionen,

NotificationOutcome Class

Represents a notification outcome.


Namespace:  Microsoft.ServiceBus.Notifications
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)

[DataContractAttribute(Name = "NotificationOutcome", Namespace = "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect")]
public sealed class NotificationOutcome

The NotificationOutcome type exposes the following members.

Public methodNotificationOutcomeInitializes a new instance of the NotificationOutcome class.

Public propertyFailureGets or sets the failure value of the outcome.
Public propertyResultsGets or sets the list of notification outcome results.
Public propertyStateGets or sets the state of this notification outcome.
Public propertySuccessGets or sets the success value of the outcome.
Public propertyTrackingIdGets or sets the tracking ID.

Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodToString (Inherited from Object.)

If the EnableTestSend property is set to false for a NotificationHubClient object, all Send* methods return a NotificationOutcome instance with State set to Enqueued, and no additional information. If EnableTestSend is true, State will be set to DetailedStateAvailable, and this class contains information about how many notifications were successfully delivered. In case of failures, it provides the specific outcome, in the same manner as the notification hub telemetry.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


Lägg till
© 2015 Microsoft