Aracılığıyla paylaş


SoapHeaderAttribute.Required Özellik

Tanım

Dikkat

This property will be removed from a future version. The presence of a particular header in a SOAP message is no longer enforced

Bu üye kullanımdan kaldırıldı ve hiçbir işlevi yok.

public:
 property bool Required { bool get(); void set(bool value); };
[System.Obsolete("This property will be removed from a future version. The presence of a particular header in a SOAP message is no longer enforced", false)]
public bool Required { get; set; }
[<System.Obsolete("This property will be removed from a future version. The presence of a particular header in a SOAP message is no longer enforced", false)>]
member this.Required : bool with get, set
Public Property Required As Boolean

Özellik Değeri

Bir Boolean değer.

Öznitelikler

Açıklamalar

BIR SOAP üst bilgisinin bir XML Web hizmetine gönderildiğini doğrulamak için özelliğinde MemberName belirtilen üyenin olduğunu nullonaylayın. ise nullSOAP üst bilgisi gönderilmedi.

.NET Framework SDK'sının 1.0 sürümünde, özelliği bir Required SOAP üst bilgisinin alıcı XML Web hizmeti veya XML Web hizmeti istemcisi tarafından anlaşılması ve işlenmesi gerekip gerekmediğini gösterir. Bir alıcı SOAP üst bilgisini işlemediyse bir özel durum oluştu.

Şunlara uygulanır