StringContent Constructor (String, Encoding, String)

Initializes a new instance of the StringContent class.

Namespace:  System.Net.Http
Assembly:  System.Net.Http (in System.Net.Http.dll)

public StringContent(
	string content,
	Encoding encoding,
	string mediaType
)

Parameters

content
Type: System.String
encoding
Type: System.Text.Encoding
mediaType
Type: System.String
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft