OutgoingWebRequestContext.ContentType Property

 

Gets and sets the content type header value from the outgoing Web request.

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

public string ContentType { get; set; }

Property Value

Type: System.String

The content type header from the outgoing Web request.

.NET Framework
Available since 3.5
Silverlight
Available since 4.0
Return to top
Show: