ServiceAuthorizationElement.ImpersonateCallerForAllOperations Propriedade

Definição

Obtém ou define um valor booliano que especifica se todas as operações no serviço representam o chamador.Gets or sets a Boolean value that specifies whether all the operations in the service impersonate the caller.

public:
 property bool ImpersonateCallerForAllOperations { bool get(); void set(bool value); };
[System.Configuration.ConfigurationProperty("impersonateCallerForAllOperations", DefaultValue=Mono.Cecil.CustomAttributeArgument)]
public bool ImpersonateCallerForAllOperations { get; set; }
[<System.Configuration.ConfigurationProperty("impersonateCallerForAllOperations", DefaultValue=Mono.Cecil.CustomAttributeArgument)>]
member this.ImpersonateCallerForAllOperations : bool with get, set
Public Property ImpersonateCallerForAllOperations As Boolean

Valor da propriedade

Boolean

true se todas as operações no serviço representarem o chamador; caso contrário, false .true if all the operations in the service impersonate the caller; otherwise, false. O padrão é false.The default is false.

Atributos

Comentários

Quando uma operação de serviço específica representa o chamador, o contexto do thread é alternado para o contexto do chamador antes de executar o serviço especificado.When a specific service operation impersonates the caller, the thread context is switched to the caller context before executing the specified service.

Aplica-se a