Class Response
Definition
- Namespace:
- Tizen.Network.IoTConnectivity
- Assembly:
- Tizen.Network.IoTConnectivity.dll
This class represents response from a resource. It provides APIs to manage response.
public class Response : IDisposable
- Inheritance
-
objectResponse
- Implements
-
System.IDisposable
Constructors
View SourceResponse()
Constructor of Response.
Declaration
public Response()
Examples
Response response = new Response();
Properties
View SourceOptions
Gets or sets the options from/into the response.
Declaration
public ResourceOptions Options { get; set; }
Property Value
Type | Description |
---|---|
ResourceOptions | The options from/into the response. |
Representation
Gets or sets the representation from/into the response.
Declaration
public Representation Representation { get; set; }
Property Value
Type | Description |
---|---|
Representation | The representation from/into the response. |
Result
Gets or sets the result from/into the response.
Declaration
public ResponseCode Result { get; set; }
Property Value
Type | Description |
---|---|
ResponseCode | The result from/into the response. |
Methods
View SourceDispose()
Releases any unmanaged resources used by this object.
Declaration
public void Dispose()
Dispose(bool)
Releases any unmanaged resources used by this object. Can also dispose any other disposable objects.
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
bool | disposing | If true, disposes any disposable objects. If false, does not dispose disposable objects. |
~Response()
Destructor of the Response class.
Declaration
protected ~Response()
Implements
System.IDisposable