SALES: 1-800-867-1380

NotificationOutcome Class

Represents a notification outcome.

System.Object
  Microsoft.ServiceBus.Notifications.NotificationOutcome

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

[<SealedAttribute>]
[<DataContractAttribute(Name = "NotificationOutcome", Namespace = "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect")>]
type NotificationOutcome =  class end

The NotificationOutcome type exposes the following members.

  NameDescription
Public methodNotificationOutcomeInitializes a new instance of the NotificationOutcome class.
Top

  NameDescription
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.
Top

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

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.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft