Edit

Share via


OutgoingWebResponseContext.SetStatusAsCreated(Uri) Method

Definition

Sets the HTTP status code of the outgoing Web response to Created and sets the Location header to the provided URI.

public:
 void SetStatusAsCreated(Uri ^ locationUri);
public void SetStatusAsCreated (Uri locationUri);
member this.SetStatusAsCreated : Uri -> unit
Public Sub SetStatusAsCreated (locationUri As Uri)

Parameters

locationUri
Uri

The Uri instance to the requested resource.

Applies to