MessageProperties.Security Propriedade

Definição

Obtém ou define a propriedade relacionadas à segurança de uma mensagem.Gets or sets the security-related property of a message.

public:
 property System::ServiceModel::Security::SecurityMessageProperty ^ Security { System::ServiceModel::Security::SecurityMessageProperty ^ get(); void set(System::ServiceModel::Security::SecurityMessageProperty ^ value); };
public System.ServiceModel.Security.SecurityMessageProperty Security { get; set; }
member this.Security : System.ServiceModel.Security.SecurityMessageProperty with get, set
Public Property Security As SecurityMessageProperty

Valor da propriedade

SecurityMessageProperty

Um objeto SecurityMessageProperty.A SecurityMessageProperty object.

Comentários

Os resultados de autenticação de cliente HTTP são convertidos em uma instância do SecurityContext , que é anexada à mensagem usando um SecurityMessageProperty .HTTP client authentication results are translated into an instance of SecurityContext, which is attached to the message using a SecurityMessageProperty. Essa propriedade pode ser usada por camadas mais altas para implementar a lógica de autorização arbitrária.This property can be used by higher layers to implement arbitrary authorization logic.

Aplica-se a