StorageExtendedErrorInformation.ReadFromStreamUsingODataLib Method (Stream, HttpResponseMessage, String) (Microsoft.WindowsAzure.Storage)
From Microsoft.WindowsAzure.Storage.Queue
C#
C++
F#
VB
StorageExtendedErrorInformation.::..ReadFromStreamUsingODataLib Method (Stream, HttpResponseMessage, String)(Stream^, HttpResponseMessage^, String^)(Stream, HttpResponseMessage, String)(Stream, HttpResponseMessage, String)
Gets the error details from the stream using OData library.
Namespace:
Microsoft.WindowsAzure.Storage
Assembly:
Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Syntax
public static StorageExtendedErrorInformation ReadFromStreamUsingODataLib(
Stream inputStream,
HttpResponseMessage response,
string contentType
)
C++
public:
static StorageExtendedErrorInformation^ ReadFromStreamUsingODataLib(
Stream^ inputStream,
HttpResponseMessage^ response,
String^ contentType
)
static member ReadFromStreamUsingODataLib :
inputStream:Stream *
response:HttpResponseMessage *
contentType:string -> StorageExtendedErrorInformation
Public Shared Function ReadFromStreamUsingODataLib (
inputStream As Stream,
response As HttpResponseMessage,
contentType As String
) As StorageExtendedErrorInformation
Parameters
- inputStream
-
Type:
System.IO.StreamSystem.IO::Stream^System.IO.StreamSystem.IO.Stream
The input stream.
- response
-
Type:
System.Net.Http.HttpResponseMessageSystem.Net.Http::HttpResponseMessage^System.Net.Http.HttpResponseMessageSystem.Net.Http.HttpResponseMessage
The web response.
- contentType
-
Type:
System.StringSystem::String^System.StringSystem.String
The response Content-Type.
Return to top
Gets the error details from the stream using OData library.
Syntax
public static StorageExtendedErrorInformation ReadFromStreamUsingODataLib( Stream inputStream, HttpResponseMessage response, string contentType )
C++
public: static StorageExtendedErrorInformation^ ReadFromStreamUsingODataLib( Stream^ inputStream, HttpResponseMessage^ response, String^ contentType )
static member ReadFromStreamUsingODataLib : inputStream:Stream * response:HttpResponseMessage * contentType:string -> StorageExtendedErrorInformation
Public Shared Function ReadFromStreamUsingODataLib ( inputStream As Stream, response As HttpResponseMessage, contentType As String ) As StorageExtendedErrorInformation
Parameters
- inputStream
-
Type:
System.IO.StreamSystem.IO::Stream^System.IO.StreamSystem.IO.Stream
The input stream.
- response
-
Type:
System.Net.Http.HttpResponseMessageSystem.Net.Http::HttpResponseMessage^System.Net.Http.HttpResponseMessageSystem.Net.Http.HttpResponseMessage
The web response.
- contentType
-
Type:
System.StringSystem::String^System.StringSystem.String
The response Content-Type.