Bagikan melalui


MessageFault.WasHeaderNotUnderstood(MessageHeaders, String, String) Metode

Definisi

Mendapatkan nilai yang menunjukkan apakah header pesan SOAP dipahami.

public:
 static bool WasHeaderNotUnderstood(System::ServiceModel::Channels::MessageHeaders ^ headers, System::String ^ name, System::String ^ ns);
public static bool WasHeaderNotUnderstood (System.ServiceModel.Channels.MessageHeaders headers, string name, string ns);
static member WasHeaderNotUnderstood : System.ServiceModel.Channels.MessageHeaders * string * string -> bool
Public Shared Function WasHeaderNotUnderstood (headers As MessageHeaders, name As String, ns As String) As Boolean

Parameter

headers
MessageHeaders

Header pesan SOAP.

name
String

Nama elemen header.

ns
String

Namespace dari elemen header.

Mengembalikan

true jika header pesan dipahami; jika tidak, false. Default adalah false.

Berlaku untuk