31 references to Response
System.Web.Services (31)
System\Web\Services\Protocols\DiscoveryServerProtocol.cs (10)
274
Response
.ContentType = ContentType.Compose("text/xml", encoding);
283
Response
.ContentType = ContentType.Compose("text/xml", encoding);
301
Response
.ContentType = ContentType.Compose("text/xml", encoding);
318
Response
.ContentType = ContentType.Compose("text/xml", encoding);
339
Response
.Clear();
340
Response
.ClearHeaders();
341
Response
.ContentType = ContentType.Compose("text/plain", Encoding.UTF8);
342
Response
.StatusCode = (int) HttpStatusCode.InternalServerError;
343
Response
.StatusDescription = HttpWorkerRequest.GetStatusDescription(
Response
.StatusCode);
System\Web\Services\Protocols\DocumentationServerProtocol.cs (1)
183
Response
.ContentType = "text/html";
System\Web\Services\Protocols\HttpServerProtocol.cs (7)
216
writer.Write(
Response
, outputStream, returnValues[0]);
220
Response
.Clear();
221
Response
.ClearHeaders();
222
Response
.ContentType = ContentType.Compose("text/plain", Encoding.UTF8);
223
SetHttpResponseStatusCode(
Response
, (int)HttpStatusCode.InternalServerError);
224
Response
.StatusDescription = HttpWorkerRequest.GetStatusDescription(
Response
.StatusCode);
System\Web\Services\Protocols\ServerProtocol.cs (2)
165
Response
.StatusCode = (int)HttpStatusCode.Accepted;
321
if (!serverProtocol.WriteException(e, serverProtocol.
Response
.OutputStream))
System\Web\Services\Protocols\SoapServerProtocol.cs (8)
681
Response
.ContentType = message.ContentType;
683
Response
.AppendHeader(ContentType.ContentEncoding, message.ContentEncoding);
743
Response
.ClearHeaders();
744
Response
.Clear();
745
HttpStatusCode statusCode = helper.SetResponseErrorCode(
Response
, soapException);
783
Response
.ContentType = message.ContentType;
785
Response
.AppendHeader(ContentType.ContentEncoding, message.ContentEncoding);
814
Response
.ContentType = ContentType.Compose(ContentType.TextPlain, Encoding.UTF8);
System\Web\Services\Protocols\WebServiceHandler.cs (3)
88
this.wroteException = protocol.WriteException(e, protocol.
Response
.OutputStream);
126
debugger.NotifyServerCallExit(protocol.
Response
);
359
Stream outputStream = protocol.
Response
.OutputStream;