OutgoingWebResponseContext.SetStatusAsNotFound Method (String)

 

Sets the HTTP status code of the outgoing Web response to NotFound with the specified description.

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

public void SetStatusAsNotFound(
	string description
)

Parameters

description
Type: System.String

The description of status.

.NET Framework
Available since 3.5
Return to top
Show: