Delen via


ControllerBase.Accepted Method

Definition

Overloads

Accepted()

Creates an AcceptedResult object that produces a Status202Accepted response.

Accepted(Object)

Creates an AcceptedResult object that produces a Status202Accepted response.

Accepted(String)

Creates an AcceptedResult object that produces a Status202Accepted response.

Accepted(Uri)

Creates an AcceptedResult object that produces a Status202Accepted response.

Accepted(String, Object)

Creates an AcceptedResult object that produces a Status202Accepted response.

Accepted(Uri, Object)

Creates an AcceptedResult object that produces a Status202Accepted response.

Accepted()

Source:
ControllerBase.cs
Source:
ControllerBase.cs
Source:
ControllerBase.cs

Creates an AcceptedResult object that produces a Status202Accepted response.

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

Returns

The created AcceptedResult for the response.

Attributes

Applies to

Accepted(Object)

Source:
ControllerBase.cs
Source:
ControllerBase.cs
Source:
ControllerBase.cs

Creates an AcceptedResult object that produces a 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);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.AcceptedResult Accepted (object? value);
[<Microsoft.AspNetCore.Mvc.NonAction>]
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

The created AcceptedResult for the response.

Attributes

Applies to

Accepted(String)

Source:
ControllerBase.cs
Source:
ControllerBase.cs
Source:
ControllerBase.cs

Creates an AcceptedResult object that produces a 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);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.AcceptedResult Accepted (string? uri);
[<Microsoft.AspNetCore.Mvc.NonAction>]
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

The created AcceptedResult for the response.

Attributes

Applies to

Accepted(Uri)

Source:
ControllerBase.cs
Source:
ControllerBase.cs
Source:
ControllerBase.cs

Creates an AcceptedResult object that produces a Status202Accepted response.

public:
 virtual Microsoft::AspNetCore::Mvc::AcceptedResult ^ Accepted(Uri ^ uri);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.AcceptedResult Accepted (Uri uri);
[<Microsoft.AspNetCore.Mvc.NonAction>]
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

The created AcceptedResult for the response.

Attributes

Applies to

Accepted(String, Object)

Source:
ControllerBase.cs
Source:
ControllerBase.cs
Source:
ControllerBase.cs

Creates an AcceptedResult object that produces a 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);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.AcceptedResult Accepted (string? uri, object? value);
[<Microsoft.AspNetCore.Mvc.NonAction>]
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

The created AcceptedResult for the response.

Attributes

Applies to

Accepted(Uri, Object)

Source:
ControllerBase.cs
Source:
ControllerBase.cs
Source:
ControllerBase.cs

Creates an AcceptedResult object that produces a 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);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.AcceptedResult Accepted (Uri uri, object? value);
[<Microsoft.AspNetCore.Mvc.NonAction>]
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

The created AcceptedResult for the response.

Attributes

Applies to