XmlDictionaryReader.CreateMtomReader メソッド

定義

MTOM 形式で XML を読み込む XmlDictionaryReader のインスタンスを作成します。

オーバーロード

CreateMtomReader(Byte[], Int32, Int32, Encoding[], String, XmlDictionaryReaderQuotas, Int32, OnXmlDictionaryReaderClose)

MTOM 形式で XML を読み込む XmlDictionaryReader のインスタンスを作成します。

CreateMtomReader(Stream, Encoding[], String, XmlDictionaryReaderQuotas, Int32, OnXmlDictionaryReaderClose)

MTOM 形式で XML を読み込む XmlDictionaryReader のインスタンスを作成します。

CreateMtomReader(Byte[], Int32, Int32, Encoding[], String, XmlDictionaryReaderQuotas)

MTOM 形式で XML を読み込む XmlDictionaryReader のインスタンスを作成します。

CreateMtomReader(Byte[], Int32, Int32, Encoding[], XmlDictionaryReaderQuotas)

MTOM 形式で XML を読み込む XmlDictionaryReader のインスタンスを作成します。

CreateMtomReader(Stream, Encoding, XmlDictionaryReaderQuotas)

MTOM 形式で XML を読み込む XmlDictionaryReader のインスタンスを作成します。

CreateMtomReader(Stream, Encoding[], String, XmlDictionaryReaderQuotas)

MTOM 形式で XML を読み込む XmlDictionaryReader のインスタンスを作成します。

CreateMtomReader(Stream, Encoding[], XmlDictionaryReaderQuotas)

MTOM 形式で XML を読み込む XmlDictionaryReader のインスタンスを作成します。

CreateMtomReader(Byte[], Int32, Int32, Encoding, XmlDictionaryReaderQuotas)

MTOM 形式で XML を読み込む XmlDictionaryReader のインスタンスを作成します。

注釈

MTOM を使用すると、SOAP メッセージの送信および物理フォーマットを最適化できます。

CreateMtomReader(Byte[], Int32, Int32, Encoding[], String, XmlDictionaryReaderQuotas, Int32, OnXmlDictionaryReaderClose)

MTOM 形式で XML を読み込む XmlDictionaryReader のインスタンスを作成します。

public:
 static System::Xml::XmlDictionaryReader ^ CreateMtomReader(cli::array <System::Byte> ^ buffer, int offset, int count, cli::array <System::Text::Encoding ^> ^ encodings, System::String ^ contentType, System::Xml::XmlDictionaryReaderQuotas ^ quotas, int maxBufferSize, System::Xml::OnXmlDictionaryReaderClose ^ onClose);
public static System.Xml.XmlDictionaryReader CreateMtomReader (byte[] buffer, int offset, int count, System.Text.Encoding[] encodings, string? contentType, System.Xml.XmlDictionaryReaderQuotas quotas, int maxBufferSize, System.Xml.OnXmlDictionaryReaderClose? onClose);
public static System.Xml.XmlDictionaryReader CreateMtomReader (byte[] buffer, int offset, int count, System.Text.Encoding[] encodings, string contentType, System.Xml.XmlDictionaryReaderQuotas quotas, int maxBufferSize, System.Xml.OnXmlDictionaryReaderClose onClose);
static member CreateMtomReader : byte[] * int * int * System.Text.Encoding[] * string * System.Xml.XmlDictionaryReaderQuotas * int * System.Xml.OnXmlDictionaryReaderClose -> System.Xml.XmlDictionaryReader
Public Shared Function CreateMtomReader (buffer As Byte(), offset As Integer, count As Integer, encodings As Encoding(), contentType As String, quotas As XmlDictionaryReaderQuotas, maxBufferSize As Integer, onClose As OnXmlDictionaryReaderClose) As XmlDictionaryReader

パラメーター

buffer
Byte[]

読み込み元のバッファー。

offset
Int32

buffer の読み取り開始位置。

count
Int32

buffer からの読み取り可能バイト数。

encodings
Encoding[]

入力の可能な文字エンコーディング。

contentType
String

メッセージの Content-Type MIME タイプ。

quotas
XmlDictionaryReaderQuotas

リーダーに適用される XmlDictionaryReaderQuotas

maxBufferSize
Int32

バッファーの許容最大サイズ。

onClose
OnXmlDictionaryReaderClose

リーダーが閉じられたときに呼び出すデリゲート。

戻り値

XmlDictionaryReader

XmlDictionaryReader のインスタンス。

注釈

このメソッドは、encodings のインスタンスの配列である Encoding で指定する文字エンコーディングのいずれかを使用して、指定するオフセットおよびカウントを用いてバッファーから読み込みます。 メッセージは指定された MIME 型です。 contentTypenull の場合は、Content-Type MIME ヘッダーがメッセージに存在している必要があります。

適用対象

CreateMtomReader(Stream, Encoding[], String, XmlDictionaryReaderQuotas, Int32, OnXmlDictionaryReaderClose)

MTOM 形式で XML を読み込む XmlDictionaryReader のインスタンスを作成します。

public:
 static System::Xml::XmlDictionaryReader ^ CreateMtomReader(System::IO::Stream ^ stream, cli::array <System::Text::Encoding ^> ^ encodings, System::String ^ contentType, System::Xml::XmlDictionaryReaderQuotas ^ quotas, int maxBufferSize, System::Xml::OnXmlDictionaryReaderClose ^ onClose);
public static System.Xml.XmlDictionaryReader CreateMtomReader (System.IO.Stream stream, System.Text.Encoding[] encodings, string? contentType, System.Xml.XmlDictionaryReaderQuotas quotas, int maxBufferSize, System.Xml.OnXmlDictionaryReaderClose? onClose);
public static System.Xml.XmlDictionaryReader CreateMtomReader (System.IO.Stream stream, System.Text.Encoding[] encodings, string contentType, System.Xml.XmlDictionaryReaderQuotas quotas, int maxBufferSize, System.Xml.OnXmlDictionaryReaderClose onClose);
static member CreateMtomReader : System.IO.Stream * System.Text.Encoding[] * string * System.Xml.XmlDictionaryReaderQuotas * int * System.Xml.OnXmlDictionaryReaderClose -> System.Xml.XmlDictionaryReader
Public Shared Function CreateMtomReader (stream As Stream, encodings As Encoding(), contentType As String, quotas As XmlDictionaryReaderQuotas, maxBufferSize As Integer, onClose As OnXmlDictionaryReaderClose) As XmlDictionaryReader

パラメーター

stream
Stream

読み込み元のストリーム。

encodings
Encoding[]

ストリームの可能な文字エンコーディング。

contentType
String

メッセージの Content-Type MIME タイプ。

quotas
XmlDictionaryReaderQuotas

メッセージの MIME 型。

maxBufferSize
Int32

リーダーに適用される XmlDictionaryReaderQuotas

onClose
OnXmlDictionaryReaderClose

リーダーが閉じられたときに呼び出すデリゲート。

戻り値

XmlDictionaryReader

XmlDictionaryReader のインスタンス。

注釈

このメソッドは、encodings のインスタンスの配列である Encoding で指定する文字エンコーディングのいずれかを使用して、ストリームから読み込みます。 メッセージは指定された MIME 型です。 contentTypenull の場合は、Content-Type MIME ヘッダーがメッセージに存在している必要があります。

適用対象

CreateMtomReader(Byte[], Int32, Int32, Encoding[], String, XmlDictionaryReaderQuotas)

MTOM 形式で XML を読み込む XmlDictionaryReader のインスタンスを作成します。

public:
 static System::Xml::XmlDictionaryReader ^ CreateMtomReader(cli::array <System::Byte> ^ buffer, int offset, int count, cli::array <System::Text::Encoding ^> ^ encodings, System::String ^ contentType, System::Xml::XmlDictionaryReaderQuotas ^ quotas);
public static System.Xml.XmlDictionaryReader CreateMtomReader (byte[] buffer, int offset, int count, System.Text.Encoding[] encodings, string? contentType, System.Xml.XmlDictionaryReaderQuotas quotas);
public static System.Xml.XmlDictionaryReader CreateMtomReader (byte[] buffer, int offset, int count, System.Text.Encoding[] encodings, string contentType, System.Xml.XmlDictionaryReaderQuotas quotas);
static member CreateMtomReader : byte[] * int * int * System.Text.Encoding[] * string * System.Xml.XmlDictionaryReaderQuotas -> System.Xml.XmlDictionaryReader
Public Shared Function CreateMtomReader (buffer As Byte(), offset As Integer, count As Integer, encodings As Encoding(), contentType As String, quotas As XmlDictionaryReaderQuotas) As XmlDictionaryReader

パラメーター

buffer
Byte[]

読み込み元のバッファー。

offset
Int32

buffer の読み取り開始位置。

count
Int32

buffer からの読み取り可能バイト数。

encodings
Encoding[]

入力の可能な文字エンコーディング。

contentType
String

メッセージの Content-Type MIME タイプ。

quotas
XmlDictionaryReaderQuotas

このリーダーに適用されるクォータ。

戻り値

XmlDictionaryReader

XmlDictionaryReader のインスタンス。

注釈

このメソッドは、encodings のインスタンスの配列である Encoding で指定する文字エンコーディングのいずれかを使用して、指定するオフセットおよびカウントを用いてバッファーから読み込みます。 メッセージは指定された MIME 型です。 contentTypenull の場合は、Content-Type MIME ヘッダーがメッセージに存在している必要があります。

適用対象

CreateMtomReader(Byte[], Int32, Int32, Encoding[], XmlDictionaryReaderQuotas)

MTOM 形式で XML を読み込む XmlDictionaryReader のインスタンスを作成します。

public:
 static System::Xml::XmlDictionaryReader ^ CreateMtomReader(cli::array <System::Byte> ^ buffer, int offset, int count, cli::array <System::Text::Encoding ^> ^ encodings, System::Xml::XmlDictionaryReaderQuotas ^ quotas);
public static System.Xml.XmlDictionaryReader CreateMtomReader (byte[] buffer, int offset, int count, System.Text.Encoding[] encodings, System.Xml.XmlDictionaryReaderQuotas quotas);
static member CreateMtomReader : byte[] * int * int * System.Text.Encoding[] * System.Xml.XmlDictionaryReaderQuotas -> System.Xml.XmlDictionaryReader
Public Shared Function CreateMtomReader (buffer As Byte(), offset As Integer, count As Integer, encodings As Encoding(), quotas As XmlDictionaryReaderQuotas) As XmlDictionaryReader

パラメーター

buffer
Byte[]

読み込み元のバッファー。

offset
Int32

buffer の読み取り開始位置。

count
Int32

buffer からの読み取り可能バイト数。

encodings
Encoding[]

入力の可能な文字エンコーディング。

quotas
XmlDictionaryReaderQuotas

このリーダーに適用されるクォータ。

戻り値

XmlDictionaryReader

XmlDictionaryReader のインスタンス。

注釈

このメソッドは、encodings のインスタンスの配列である Encoding で指定する文字エンコーディングのいずれかを使用して、指定するオフセットおよびカウントを用いてバッファーから読み込みます。

適用対象

CreateMtomReader(Stream, Encoding, XmlDictionaryReaderQuotas)

MTOM 形式で XML を読み込む XmlDictionaryReader のインスタンスを作成します。

public:
 static System::Xml::XmlDictionaryReader ^ CreateMtomReader(System::IO::Stream ^ stream, System::Text::Encoding ^ encoding, System::Xml::XmlDictionaryReaderQuotas ^ quotas);
public static System.Xml.XmlDictionaryReader CreateMtomReader (System.IO.Stream stream, System.Text.Encoding encoding, System.Xml.XmlDictionaryReaderQuotas quotas);
static member CreateMtomReader : System.IO.Stream * System.Text.Encoding * System.Xml.XmlDictionaryReaderQuotas -> System.Xml.XmlDictionaryReader
Public Shared Function CreateMtomReader (stream As Stream, encoding As Encoding, quotas As XmlDictionaryReaderQuotas) As XmlDictionaryReader

パラメーター

stream
Stream

読み込み元のストリーム。

encoding
Encoding

ストリームの可能な文字エンコーディング。

quotas
XmlDictionaryReaderQuotas

このリーダーに適用されるクォータ。

戻り値

XmlDictionaryReader

XmlDictionaryReader のインスタンス。

例外

encodingnullです。

注釈

このメソッドは、encoding のインスタンスである Encoding で指定した文字エンコーディングを使用して、ストリームから読み込みます。

適用対象

CreateMtomReader(Stream, Encoding[], String, XmlDictionaryReaderQuotas)

MTOM 形式で XML を読み込む XmlDictionaryReader のインスタンスを作成します。

public:
 static System::Xml::XmlDictionaryReader ^ CreateMtomReader(System::IO::Stream ^ stream, cli::array <System::Text::Encoding ^> ^ encodings, System::String ^ contentType, System::Xml::XmlDictionaryReaderQuotas ^ quotas);
public static System.Xml.XmlDictionaryReader CreateMtomReader (System.IO.Stream stream, System.Text.Encoding[] encodings, string? contentType, System.Xml.XmlDictionaryReaderQuotas quotas);
public static System.Xml.XmlDictionaryReader CreateMtomReader (System.IO.Stream stream, System.Text.Encoding[] encodings, string contentType, System.Xml.XmlDictionaryReaderQuotas quotas);
static member CreateMtomReader : System.IO.Stream * System.Text.Encoding[] * string * System.Xml.XmlDictionaryReaderQuotas -> System.Xml.XmlDictionaryReader
Public Shared Function CreateMtomReader (stream As Stream, encodings As Encoding(), contentType As String, quotas As XmlDictionaryReaderQuotas) As XmlDictionaryReader

パラメーター

stream
Stream

読み込み元のストリーム。

encodings
Encoding[]

ストリームの可能な文字エンコーディング。

contentType
String

メッセージの Content-Type MIME タイプ。

quotas
XmlDictionaryReaderQuotas

このリーダーに適用されるクォータ。

戻り値

XmlDictionaryReader

XmlDictionaryReader のインスタンス。

注釈

このメソッドは、encodings のインスタンスの配列である Encoding で指定する文字エンコーディングのいずれかを使用して、ストリームから読み込みます。 メッセージは指定された MIME 型です。 contentTypenull の場合は、Content-Type MIME ヘッダーがメッセージに存在している必要があります。

適用対象

CreateMtomReader(Stream, Encoding[], XmlDictionaryReaderQuotas)

MTOM 形式で XML を読み込む XmlDictionaryReader のインスタンスを作成します。

public:
 static System::Xml::XmlDictionaryReader ^ CreateMtomReader(System::IO::Stream ^ stream, cli::array <System::Text::Encoding ^> ^ encodings, System::Xml::XmlDictionaryReaderQuotas ^ quotas);
public static System.Xml.XmlDictionaryReader CreateMtomReader (System.IO.Stream stream, System.Text.Encoding[] encodings, System.Xml.XmlDictionaryReaderQuotas quotas);
static member CreateMtomReader : System.IO.Stream * System.Text.Encoding[] * System.Xml.XmlDictionaryReaderQuotas -> System.Xml.XmlDictionaryReader
Public Shared Function CreateMtomReader (stream As Stream, encodings As Encoding(), quotas As XmlDictionaryReaderQuotas) As XmlDictionaryReader

パラメーター

stream
Stream

読み込み元のストリーム。

encodings
Encoding[]

ストリームの可能な文字エンコーディング。

quotas
XmlDictionaryReaderQuotas

このリーダーに適用されるクォータ。

戻り値

XmlDictionaryReader

XmlDictionaryReader のインスタンス。

例外

encodingnullです。

注釈

このメソッドは、encodings のインスタンスの配列である Encoding で指定する文字エンコーディングのいずれかを使用して、ストリームから読み込みます。

適用対象

CreateMtomReader(Byte[], Int32, Int32, Encoding, XmlDictionaryReaderQuotas)

MTOM 形式で XML を読み込む XmlDictionaryReader のインスタンスを作成します。

public:
 static System::Xml::XmlDictionaryReader ^ CreateMtomReader(cli::array <System::Byte> ^ buffer, int offset, int count, System::Text::Encoding ^ encoding, System::Xml::XmlDictionaryReaderQuotas ^ quotas);
public static System.Xml.XmlDictionaryReader CreateMtomReader (byte[] buffer, int offset, int count, System.Text.Encoding encoding, System.Xml.XmlDictionaryReaderQuotas quotas);
static member CreateMtomReader : byte[] * int * int * System.Text.Encoding * System.Xml.XmlDictionaryReaderQuotas -> System.Xml.XmlDictionaryReader
Public Shared Function CreateMtomReader (buffer As Byte(), offset As Integer, count As Integer, encoding As Encoding, quotas As XmlDictionaryReaderQuotas) As XmlDictionaryReader

パラメーター

buffer
Byte[]

読み込み元のバッファー。

offset
Int32

buffer の読み取り開始位置。

count
Int32

buffer からの読み取り可能バイト数。

encoding
Encoding

入力の可能な文字エンコーディング。

quotas
XmlDictionaryReaderQuotas

このリーダーに適用されるクォータ。

戻り値

XmlDictionaryReader

XmlDictionaryReader のインスタンス。

例外

encodingnullです。

注釈

このメソッドは、encoding のインスタンスである Encoding で指定する文字エンコーディングを使用し、指定するオフセットおよびカウントを用いてバッファーから読み込みます。

適用対象