Share via


HttpRequestMessage.ToString Method

Returns a string that represents the current object.

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

Syntax

'Declaration
Public Overrides Function ToString As String
'Usage
Dim instance As HttpRequestMessage 
Dim returnValue As String 

returnValue = instance.ToString()
public override string ToString()
public:
virtual String^ ToString() override
abstract ToString : unit -> string  
override ToString : unit -> string
public override function ToString() : String

Return Value

Type: System.String
Returns String.A string representation of the current object.

See Also

Reference

HttpRequestMessage Class

System.Net.Http Namespace