Class Response

Definition

Namespace:
Tizen.Network.IoTConnectivity
Assembly:
Tizen.Network.IoTConnectivity.dll
API Level:
3

This class represents response from a resource. It provides APIs to manage response.

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

Constructors

View Source

Response()

Constructor of Response.

Declaration
C#
Copy
public Response()
Examples
Copy
Response response = new Response();
API Level: 3

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.

API Level: 3
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.

API Level: 3
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.

API Level: 3

Methods

View Source

Dispose()

Releases any unmanaged resources used by this object.

Declaration
C#
Copy
public void Dispose()
API Level: 3
View Source

Dispose(Boolean)

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
Boolean disposing

If true, disposes any disposable objects. If false, does not dispose disposable objects.

API Level: 3
View Source

Finalize()

Destructor of the Response class.

Declaration
C#
Copy
protected void Finalize()

Implements

System.IDisposable