The Subscription type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| Subscription | DotNetNuke.Services.Social.Subscriptions.Entities.Subscription |
Methods
| Name | Description | |
|---|---|---|
| Equals | (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
Extension Methods
| Name | Description | |
|---|---|---|
| ToJson |
Extension method on object that serializes the value to Json.
Note the type must be marked Serializable or include a DataContract attribute.
(Defined by JsonExtensionsWeb.) |
Properties
| Name | Description | |
|---|---|---|
| CreatedOnDate |
The date the user subscribed.
| |
| Description |
Description of the content which user is subscribed to.
| |
| ModuleId |
Associates the subscription with an instance of a module.
If set it uses to apply to Security Trimming.
If the user does not have view permission on that module the Subscription won't be retrieved by the SubscriptionController.
| |
| ObjectData |
Object Data that represents metadata to manage the subscription.
The format of the ObjectData is up to the consumer. (i.e.: destinationModule:486, where 486 represents a extra property called Destination Module).
| |
| ObjectKey |
Object key that represent the content which user is subscribed to.
The format of the ObjectKey is up to the consumer. (i.e.: blog:12, where 12 represents the post identifier).
| |
| PortalId |
The site the subscription is associated with.
| |
| SubscriptionId |
The subscription identifier.
| |
| SubscriptionTypeId |
The type of subscription.
| |
| TabId |
Associates the subscription with a tab.
If set it uses to apply to Security Trimming.
If the user does not have view permission on that tab the Subscription won't be retrieved by the SubscriptionController.
| |
| UserId |
The user the subscription is associated with.
|