IActivityClient.StartSubscription
IActivityClient.StartSubscription method
Starts a subscription to the specified content type. If a subscription to the specified content type already exists, this operation is used to: - update the properties of an active webhook - enable a webhook that was disabled because of excessive failed notifications - re-enable an expired webhook by specifying a later or null expiration date - remove a webhook
public Subscription StartSubscription(string contentType, Webhook webhook)
Parameter | Type | Description |
---|---|---|
contentType | String | Indicates the content type. |
webhook | Webhook | Indicates the configured webhook |
Return Value
Subscription in current state
See Also
- class Subscription
- class Webhook
- interface IActivityClient
- namespace Aspose.Email.Clients.Activity
- assembly Aspose.Email