Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

IncomingWebRequestContext Class

Provides programmatic access to the context of the incoming Web request.

System.Object
  System.ServiceModel.Web.IncomingWebRequestContext

Namespace:  System.ServiceModel.Web
Assembly:  System.ServiceModel.Web (in System.ServiceModel.Web.dll)
public class IncomingWebRequestContext

The IncomingWebRequestContext type exposes the following members.

  NameDescription
Public propertyAcceptGets the Accept header value from the incoming Web request.
Public propertyContentLengthGets the ContentLength header value of the incoming Web request.
Public propertyContentTypeGets the ContentType header value from the incoming Web request.
Public propertyHeadersGets the headers for the incoming Web request.
Public propertyIfMatchGets a collection of the items contained in the requests If-Match header.
Public propertyIfModifiedSinceGets the value of the request’s If-Modified-Since header.
Public propertyIfNoneMatchGets the values contained in the request’s If-None-Match header.
Public propertyIfUnmodifiedSinceGets the value of the request’s If-Unmatched-Since header.
Public propertyMethodGets the HTTP method of the incoming Web request.
Public propertyUriTemplateMatchGets and sets the UriTemplateMatch instance created during the dispatch of the incoming Web request.
Public propertyUserAgentGets the UserAgent header value from the incoming Web request.
Top
  NameDescription
Public methodCheckConditionalRetrieve(DateTime)Called when a conditional receive request is made for a resource.
Public methodCheckConditionalRetrieve(Guid)Called when a conditional receive request is made for a resource.
Public methodCheckConditionalRetrieve(Int32)Called when a conditional receive request is made for a resource.
Public methodCheckConditionalRetrieve(Int64)Called when a conditional receive request is made for a resource.
Public methodCheckConditionalRetrieve(String)Called when a conditional receive request is made for a resource.
Public methodCheckConditionalUpdate(Guid)Called when a conditional receive request is made for a resource.
Public methodCheckConditionalUpdate(Int32)Called when a conditional update request is made for a resource.
Public methodCheckConditionalUpdate(Int64)Called when a conditional update request is made for a resource.
Public methodCheckConditionalUpdate(String)Called when a conditional update request is made for a resource.
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetAcceptHeaderElementsGets a collection of the Accept header elements.
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

.NET Framework

Supported in: 4.5.1, 4.5, 4, 3.5

.NET Framework Client Profile

Supported in: 3.5 SP1

Windows Phone 8.1, Windows Phone 8, Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft. All rights reserved.