OutgoingWebResponseContext Class

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Provides programmatic access to the context of the outgoing Web response.

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

System.Object
  System.ServiceModel.Web.OutgoingWebResponseContext

Public Class OutgoingWebResponseContext

NameDescription
System_CAPS_pubpropertyBindingWriteEncoding

Gets the encoding set on the binding.

System_CAPS_pubpropertyContentLength

Gets and sets the content length header from the outgoing Web response.

System_CAPS_pubpropertyContentType

Gets and sets the content type header from the outgoing Web response.

System_CAPS_pubpropertyETag

Gets and sets the etag header from the outgoing Web response.

System_CAPS_pubpropertyFormat

Gets or sets the web message format

System_CAPS_pubpropertyHeaders

Gets the headers from the outgoing Web response.

System_CAPS_pubpropertyLastModified

Gets and sets the last modified header of the outgoing Web response.

System_CAPS_pubpropertyLocation

Gets and sets the location header from the outgoing Web response.

System_CAPS_pubpropertyStatusCode

Gets and sets the status code of the outgoing Web response.

System_CAPS_pubpropertyStatusDescription

Gets and sets the status description of the outgoing Web response.

System_CAPS_pubpropertySuppressEntityBody

Gets and sets a value that indicates whether Windows Communication Foundation (WCF) omits data that is normally written to the entity body of the response and forces an empty response to be returned.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodSetETag(Guid)

Sets the specified ETag.

System_CAPS_pubmethodSetETag(Int32)

Sets the specified ETag.

System_CAPS_pubmethodSetETag(Int64)

Sets the specified ETag.

System_CAPS_pubmethodSetETag(String)

Sets the specified ETag.

System_CAPS_pubmethodSetStatusAsCreated(Uri)

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

System_CAPS_pubmethodSetStatusAsNotFound()

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

System_CAPS_pubmethodSetStatusAsNotFound(String)

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

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

.NET Framework
Available since 3.5

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: