ControllerBase.Accepted Method

Definition

Overloads

Accepted()

Creates a AcceptedResult object that produces an Status202Accepted response.

Accepted(Object)

Creates a AcceptedResult object that produces an Status202Accepted response.

Accepted(String)

Creates a AcceptedResult object that produces an Status202Accepted response.

Accepted(Uri)

Creates a AcceptedResult object that produces an Status202Accepted response.

Accepted(String, Object)

Creates a AcceptedResult object that produces an Status202Accepted response.

Accepted(Uri, Object)

Creates a AcceptedResult object that produces an Status202Accepted response.

Accepted()

Creates a AcceptedResult object that produces an Status202Accepted response.

public:
 virtual Microsoft::AspNetCore::Mvc::AcceptedResult ^ Accepted();
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.AcceptedResult Accepted ();
abstract member Accepted : unit -> Microsoft.AspNetCore.Mvc.AcceptedResult
override this.Accepted : unit -> Microsoft.AspNetCore.Mvc.AcceptedResult
Public Overridable Function Accepted () As AcceptedResult

Returns

AcceptedResult

The created AcceptedResult for the response.

Attributes

Accepted(Object)

Creates a AcceptedResult object that produces an Status202Accepted response.

public:
 virtual Microsoft::AspNetCore::Mvc::AcceptedResult ^ Accepted(System::Object ^ value);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.AcceptedResult Accepted (object value);
abstract member Accepted : obj -> Microsoft.AspNetCore.Mvc.AcceptedResult
override this.Accepted : obj -> Microsoft.AspNetCore.Mvc.AcceptedResult
Public Overridable Function Accepted (value As Object) As AcceptedResult

Parameters

value
Object

The optional content value to format in the entity body; may be null.

Returns

AcceptedResult

The created AcceptedResult for the response.

Attributes

Accepted(String)

Creates a AcceptedResult object that produces an Status202Accepted response.

public:
 virtual Microsoft::AspNetCore::Mvc::AcceptedResult ^ Accepted(System::String ^ uri);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.AcceptedResult Accepted (string uri);
abstract member Accepted : string -> Microsoft.AspNetCore.Mvc.AcceptedResult
override this.Accepted : string -> Microsoft.AspNetCore.Mvc.AcceptedResult
Public Overridable Function Accepted (uri As String) As AcceptedResult

Parameters

uri
String

The optional URI with the location at which the status of requested content can be monitored. May be null.

Returns

AcceptedResult

The created AcceptedResult for the response.

Attributes

Accepted(Uri)

Creates a AcceptedResult object that produces an Status202Accepted response.

public:
 virtual Microsoft::AspNetCore::Mvc::AcceptedResult ^ Accepted(Uri ^ uri);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.AcceptedResult Accepted (Uri uri);
abstract member Accepted : Uri -> Microsoft.AspNetCore.Mvc.AcceptedResult
override this.Accepted : Uri -> Microsoft.AspNetCore.Mvc.AcceptedResult
Public Overridable Function Accepted (uri As Uri) As AcceptedResult

Parameters

uri
Uri

The optional URI with the location at which the status of requested content can be monitored. May be null.

Returns

AcceptedResult

The created AcceptedResult for the response.

Attributes

Accepted(String, Object)

Creates a AcceptedResult object that produces an Status202Accepted response.

public:
 virtual Microsoft::AspNetCore::Mvc::AcceptedResult ^ Accepted(System::String ^ uri, System::Object ^ value);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.AcceptedResult Accepted (string uri, object value);
abstract member Accepted : string * obj -> Microsoft.AspNetCore.Mvc.AcceptedResult
override this.Accepted : string * obj -> Microsoft.AspNetCore.Mvc.AcceptedResult
Public Overridable Function Accepted (uri As String, value As Object) As AcceptedResult

Parameters

uri
String

The URI with the location at which the status of requested content can be monitored.

value
Object

The optional content value to format in the entity body; may be null.

Returns

AcceptedResult

The created AcceptedResult for the response.

Attributes

Accepted(Uri, Object)

Creates a AcceptedResult object that produces an Status202Accepted response.

public:
 virtual Microsoft::AspNetCore::Mvc::AcceptedResult ^ Accepted(Uri ^ uri, System::Object ^ value);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.AcceptedResult Accepted (Uri uri, object value);
abstract member Accepted : Uri * obj -> Microsoft.AspNetCore.Mvc.AcceptedResult
override this.Accepted : Uri * obj -> Microsoft.AspNetCore.Mvc.AcceptedResult
Public Overridable Function Accepted (uri As Uri, value As Object) As AcceptedResult

Parameters

uri
Uri

The URI with the location at which the status of requested content can be monitored.

value
Object

The optional content value to format in the entity body; may be null.

Returns

AcceptedResult

The created AcceptedResult for the response.

Attributes

Applies to