ControllerBase.Accepted ControllerBase.Accepted ControllerBase.Accepted Method

Definition

Overloads

Accepted() Accepted() Accepted()

Creates a AcceptedResult object that produces an Status202Accepted response.

Accepted(Object) Accepted(Object) Accepted(Object)

Creates a AcceptedResult object that produces an Status202Accepted response.

Accepted(String) Accepted(String) Accepted(String)

Creates a AcceptedResult object that produces an Status202Accepted response.

Accepted(Uri) Accepted(Uri)

Creates a AcceptedResult object that produces an Status202Accepted response.

Accepted(String, Object) Accepted(String, Object) Accepted(String, Object)

Creates a AcceptedResult object that produces an Status202Accepted response.

Accepted(Uri, Object) Accepted(Uri, Object)

Creates a AcceptedResult object that produces an Status202Accepted response.

Accepted() Accepted() Accepted()

Creates a AcceptedResult object that produces an Status202Accepted response.

[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

Accepted(Object) Accepted(Object) Accepted(Object)

Creates a AcceptedResult object that produces an Status202Accepted response.

[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 Object Object

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

Returns

Accepted(String) Accepted(String) Accepted(String)

Creates a AcceptedResult object that produces an Status202Accepted response.

[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 String String

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

Returns

Accepted(Uri) Accepted(Uri)

Creates a AcceptedResult object that produces an Status202Accepted response.

[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
Parameters
uri
Uri Uri Uri

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

Returns

Accepted(String, Object) Accepted(String, Object) Accepted(String, Object)

Creates a AcceptedResult object that produces an Status202Accepted response.

[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 String String

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

value
Object Object Object

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

Returns

Accepted(Uri, Object) Accepted(Uri, Object)

Creates a AcceptedResult object that produces an Status202Accepted response.

[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
Parameters
uri
Uri Uri Uri

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

value
Object Object Object

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

Returns

Applies to