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.

C#
Copy
public class Response : IDisposable
Inheritance
object
Response
Implements
System.IDisposable

Constructors

View Source

Response()

Constructor of Response.

Declaration
C#
Copy
public Response()
Examples
Copy
Response response = new Response();

Properties

View Source

Options

Gets or sets the options from/into the response.

Declaration
C#
Copy
public ResourceOptions Options { get; set; }
Property Value
Type Description
ResourceOptions

The options from/into the response.

View Source

Representation

Gets or sets the representation from/into the response.

Declaration
C#
Copy
public Representation Representation { get; set; }
Property Value
Type Description
Representation

The representation from/into the response.

View Source

Result

Gets or sets the result from/into the response.

Declaration
C#
Copy
public ResponseCode Result { get; set; }
Property Value
Type Description
ResponseCode

The result from/into the response.

Methods

View Source

Dispose()

Releases any unmanaged resources used by this object.

Declaration
C#
Copy
public void Dispose()
View Source

Dispose(bool)

Releases any unmanaged resources used by this object. Can also dispose any other disposable objects.

Declaration
C#
Copy
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.

View Source

~Response()

Destructor of the Response class.

Declaration
C#
Copy
protected ~Response()

Implements

System.IDisposable