Click to Rate and Give Feedback
Collapse All/Expand All Collapse All
Members FilterMembers Filter
Frameworks FilterFrameworks Filter
This page is specific to
Microsoft Visual Studio 2010/.NET Framework 4

Other versions are also available for the following:
.NET Framework Class Library
WebOperationContext Methods

The WebOperationContext type exposes the following members.

  NameDescription
Public methodAttachAttaches the current WebOperationContext instance to the specified OperationContext instance.
Public methodCreateAtom10Response(ServiceDocument)Creates a message formatted according to the Atom 1.0 specification with the specified content.
Public methodCreateAtom10Response(SyndicationFeed)Creates a message formatted according to the Atom 1.0 specification with the specified content.
Public methodCreateAtom10Response(SyndicationItem)Creates a message formatted according to the Atom 1.0 specification with the specified content.
Public methodCreateJsonResponse<(Of <(T>)>)(T)Creates a JSON formatted message.
Public methodCreateJsonResponse<(Of <(T>)>)(T, DataContractJsonSerializer)Creates a JSON formatted message.
Public methodCreateStreamResponse(Action<(Of <(Stream>)>), String)Creates a stream formatted message.
Public methodCreateStreamResponse(Stream, String)Creates a stream formatted message.
Public methodCreateStreamResponse(StreamBodyWriter, String)Creates a stream formatted message.
Public methodCreateTextResponse(String)Creates a text formatted response message.
Public methodCreateTextResponse(Action<(Of <(TextWriter>)>), String)Creates a text formatted message
Public methodCreateTextResponse(String, String)Creates a text formatted message.
Public methodCreateTextResponse(Action<(Of <(TextWriter>)>), String, Encoding)Creates a text formatted message
Public methodCreateTextResponse(String, String, Encoding)Creates a text formatted message.
Public methodCreateXmlResponse(XDocument)Creates an XML formatted message.
Public methodCreateXmlResponse(XElement)Creates an XML formatted message.
Public methodCreateXmlResponse<(Of <(T>)>)(T)Creates an XML formatted message.
Public methodCreateXmlResponse<(Of <(T>)>)(T, XmlObjectSerializer)Creates an XML formatted message.
Public methodCreateXmlResponse<(Of <(T>)>)(T, XmlSerializer)Creates an XML formatted message.
Public methodDetachDetaches the current WebOperationContext instance from the specified OperationContext instance.
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 methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodGetUriTemplateGets the URI template associated with the specified operation.
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
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2012 Microsoft. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker