Table of Contents

Class ApplicationResponse

Namespace
Dynamicweb.Core
Assembly
Dynamicweb.Core.dll

The ApplicationResponse class gives information about the result of a given application service operation.

[Serializable]
public class ApplicationResponse : ApplicationResponse<object>, ISerializable
Inheritance
ApplicationResponse
Implements
Inherited Members

Constructors

ApplicationResponse()

Initializes the Response class with a value indicating the success or failure of the operation returning the response

public ApplicationResponse()

Remarks

Initializes as succeded.

ApplicationResponse(bool)

Initializes the Response class with a value indicating the success or failure of the operation returning the response

public ApplicationResponse(bool succeeded)

Parameters

succeeded bool

A value indicating the success or failure of the operation returning the response

ApplicationResponse(bool, object?)

Initializes the Response class with a value indicating the success or failure of the operation returning the response, along with any relevant return data of the generic type T

public ApplicationResponse(bool succeeded, object? data)

Parameters

succeeded bool

A value indicating the success or failure of the operation returning the response

data object

The data returned from the operation

ApplicationResponse(Exception)

Initializes a new instance of the Response class with an Exception indicating what went wrong in the operation returning the response

public ApplicationResponse(Exception exceptionData)

Parameters

exceptionData Exception

A Exception explaining why the operation failed

ApplicationResponse(Exception, object?)

Initializes a new instance of the Response class with an Exception indicating what went wrong in the operation returning the response

public ApplicationResponse(Exception exceptionData, object? data)

Parameters

exceptionData Exception

A Exception explaining why the operation failed

data object

The data returned from the operation

ApplicationResponse(SerializationInfo, StreamingContext)

Initializes a new instance of the ApplicationResponse class.

protected ApplicationResponse(SerializationInfo info, StreamingContext context)

Parameters

info SerializationInfo

The information.

context StreamingContext

The context.

To top