Share via


CloudHttpRequestErrorInfo.Create Method (HttpRequestMessage, String)

 

Creates a new CloudHttpRequestErrorInfo object from an HttpRequestMessage.

Namespace:   Microsoft.WindowsAzure.Common
Assembly:  Microsoft.WindowsAzure.Common (in Microsoft.WindowsAzure.Common.dll)

Syntax

public static CloudHttpRequestErrorInfo Create(
    HttpRequestMessage request,
    string content
)
public:
static CloudHttpRequestErrorInfo^ Create(
    HttpRequestMessage^ request,
    String^ content
)
static member Create : 
        request:HttpRequestMessage *
        content:string -> CloudHttpRequestErrorInfo
Public Shared Function Create (
    request As HttpRequestMessage,
    content As String
) As CloudHttpRequestErrorInfo

Parameters

  • content
    Type: System.String

    The request content, which may be passed separately if the request has already been disposed.

Return Value

Type: Microsoft.WindowsAzure.Common.CloudHttpRequestErrorInfo

A CloudHttpRequestErrorInfo object.

See Also

Create Overload
CloudHttpRequestErrorInfo Class
Microsoft.WindowsAzure.Common Namespace

Return to top