Subscribe

The Subscribe element contains the properties used to create subscriptions.

<Subscribe>
   <PullSubscriptionRequest/>
   <PushSubscriptionRequest/>
   <StreamingSubscriptionRequest/>
</Subscribe>

SubscribeType

Attributes and elements

The following sections describe attributes, child elements, and parent elements.

Attributes

None.

Child elements

Element Description
PullSubscriptionRequest
Represents a subscription to a pull-based event notification.
PushSubscriptionRequest
Represents a subscription to a push-based event notification.
StreamingSubscriptionRequest
Represents a subscription to a streaming event notification.

Parent elements

None.

Remarks

The schema that describes this element is located in the IIS virtual directory that hosts Exchange Web Services.

Element information

Element Example
Namespace
https://schemas.microsoft.com/exchange/services/2006/messages
Schema name
Messages schema
Validation file
Messages.xsd
Can be empty
False

See also

Subscribe operation

GetEvents operation

GetStreamingEvents operation

Unsubscribe operation