ControllerBase.Accepted 方法

定义

重载

Accepted()

创建生成 Status202Accepted 响应的 AcceptedResult 对象。

Accepted(Object)

创建生成 Status202Accepted 响应的 AcceptedResult 对象。

Accepted(String)

创建生成 Status202Accepted 响应的 AcceptedResult 对象。

Accepted(Uri)

创建生成 Status202Accepted 响应的 AcceptedResult 对象。

Accepted(String, Object)

创建生成 Status202Accepted 响应的 AcceptedResult 对象。

Accepted(Uri, Object)

创建生成 Status202Accepted 响应的 AcceptedResult 对象。

Accepted()

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

创建生成 Status202Accepted 响应的 AcceptedResult 对象。

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

返回

为响应创建的 AcceptedResult

属性

适用于

Accepted(Object)

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

创建生成 Status202Accepted 响应的 AcceptedResult 对象。

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

参数

value
Object

要在实体正文中设置格式的可选内容值;可以为 null。

返回

为响应创建的 AcceptedResult

属性

适用于

Accepted(String)

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

创建生成 Status202Accepted 响应的 AcceptedResult 对象。

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

参数

uri
String

可选 URI,其中包含可监视所请求内容状态的位置。 可以为 null。

返回

为响应创建的 AcceptedResult

属性

适用于

Accepted(Uri)

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

创建生成 Status202Accepted 响应的 AcceptedResult 对象。

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

参数

uri
Uri

可选 URI,其中包含可监视所请求内容状态的位置。 可以为 null。

返回

为响应创建的 AcceptedResult

属性

适用于

Accepted(String, Object)

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

创建生成 Status202Accepted 响应的 AcceptedResult 对象。

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

参数

uri
String

URI,其中包含可监视所请求内容状态的位置。

value
Object

要在实体正文中设置格式的可选内容值;可以为 null。

返回

为响应创建的 AcceptedResult

属性

适用于

Accepted(Uri, Object)

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

创建生成 Status202Accepted 响应的 AcceptedResult 对象。

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

参数

uri
Uri

URI,其中包含可监视所请求内容状态的位置。

value
Object

要在实体正文中设置格式的可选内容值;可以为 null。

返回

为响应创建的 AcceptedResult

属性

适用于