Class SubscribeRequest<T>
Subscribe request built for use by a DataStore<T>
Inherited Members
Namespace: Kinvey
Assembly: Kinvey.dll
Syntax
public class SubscribeRequest<T> : Request<T, Newtonsoft.Json.Linq.JObject>
Type Parameters
Name | Description |
---|---|
T | The type of the network request. |
Constructors
| Improve this Doc View SourceSubscribeRequest(AbstractClient, String, String)
Initializes a new instance of the SubscribeRequest<T> class.
Declaration
public SubscribeRequest(AbstractClient client, string collection, string deviceID)
Parameters
Type | Name | Description |
---|---|---|
AbstractClient | client | Client that the user is logged in. |
System.String | collection | Collection name. |
System.String | deviceID | Device Id. |
Methods
| Improve this Doc View SourceCancel()
Communicates the request for cancellation.
Declaration
public override Task<bool> Cancel()
Returns
Type | Description |
---|---|
Task<System.Boolean> | The async task with the boolean result. If the result is |
Overrides
Kinvey.Request<T, Newtonsoft.Json.Linq.JObject>.Cancel()
|
Improve this Doc
View Source
ExecuteAsync()
Executes the request asynchronously.
Declaration
public override Task<JObject> ExecuteAsync()
Returns
Type | Description |
---|---|
Task<JObject> | The async task with the request result. |
Overrides
Kinvey.Request<T, Newtonsoft.Json.Linq.JObject>.ExecuteAsync()