WebServiceRequest.AcceptedStatusCodes property

Gets or sets the accepted status codes.

public IReadOnlyList<HttpStatusCode>? AcceptedStatusCodes { get; set; }

Property Value

The accepted status codes; if null, all status codes are accepted.

Remarks

The default value of this property contains HttpStatusCode.OK and HttpStatusCode.Created.

See Also