OutgoingWebResponseContext.SetStatusAsCreated Method (Uri)

 

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

Namespace:   System.ServiceModel.Web
Assembly:  System.ServiceModel.Web (in System.ServiceModel.Web.dll)

public void SetStatusAsCreated(
	Uri locationUri
)

Parameters

locationUri
Type: System.Uri

The Uri instance to the requested resource.

.NET Framework
Available since 3.5
Return to top
Show: