StorageExtendedErrorInformation.ReadFromStreamUsingODataLib Method (Stream, HttpWebResponse, String) (Microsoft.WindowsAzure.Storage)
From Microsoft Windows Azure Storage Blob
C#
C++
F#
VB
StorageExtendedErrorInformation.::..ReadFromStreamUsingODataLib Method (Stream, HttpWebResponse, String)(Stream^, HttpWebResponse^, String^)(Stream, HttpWebResponse, String)(Stream, HttpWebResponse, 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,
HttpWebResponse response,
string contentType
)
C++
public:
static StorageExtendedErrorInformation^ ReadFromStreamUsingODataLib(
Stream^ inputStream,
HttpWebResponse^ response,
String^ contentType
)
static member ReadFromStreamUsingODataLib :
inputStream:Stream *
response:HttpWebResponse *
contentType:string -> StorageExtendedErrorInformation
Public Shared Function ReadFromStreamUsingODataLib (
inputStream As Stream,
response As HttpWebResponse,
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.HttpWebResponseSystem.Net::HttpWebResponse^System.Net.HttpWebResponseSystem.Net.HttpWebResponse
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, HttpWebResponse response, string contentType )
C++
public: static StorageExtendedErrorInformation^ ReadFromStreamUsingODataLib( Stream^ inputStream, HttpWebResponse^ response, String^ contentType )
static member ReadFromStreamUsingODataLib : inputStream:Stream * response:HttpWebResponse * contentType:string -> StorageExtendedErrorInformation
Public Shared Function ReadFromStreamUsingODataLib ( inputStream As Stream, response As HttpWebResponse, 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.HttpWebResponseSystem.Net::HttpWebResponse^System.Net.HttpWebResponseSystem.Net.HttpWebResponse
The web response.
- contentType
-
Type:
System.StringSystem::String^System.StringSystem.String
The response Content-Type.