SoapHeaderAttribute.Required Propriedade
Definição
Cuidado
This property will be removed from a future version. The presence of a particular header in a SOAP message is no longer enforced
Esse membro é obsoleto e não tem nenhuma funcionalidade.This member is obsolete and has no functionality.
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
Valor da propriedade
Um valor Boolean.A Boolean value.
- Atributos
Comentários
Para verificar se um cabeçalho SOAP é enviado a um serviço Web XML, confirme se o membro especificado na MemberName propriedade é null .To verify that a SOAP header is sent to an XML Web service, confirm that the member specified in the MemberName property is null. Se for null , o cabeçalho SOAP não foi enviado.If it is null, the SOAP header was not sent.
Na versão 1,0 do SDK do .NET Framework, a Required propriedade indica se um cabeçalho SOAP deve ser compreendido e processado pelo serviço Web XML do destinatário ou pelo cliente do serviço Web XML.In version 1.0 of the .NET Framework SDK, the Required property indicates whether a SOAP header must be understood and processed by the recipient XML Web service or XML Web service client. Se um destinatário não processar o cabeçalho SOAP, uma exceção foi lançada.If a recipient did not process the SOAP header an exception was thrown.