WebRequestHandler.ImpersonationLevel 屬性

定義

取得或設定目前要求的模擬層級。

public:
 property System::Security::Principal::TokenImpersonationLevel ImpersonationLevel { System::Security::Principal::TokenImpersonationLevel get(); void set(System::Security::Principal::TokenImpersonationLevel value); };
public System.Security.Principal.TokenImpersonationLevel ImpersonationLevel { get; set; }
member this.ImpersonationLevel : System.Security.Principal.TokenImpersonationLevel with get, set
Public Property ImpersonationLevel As TokenImpersonationLevel

屬性值

請求的冒充等級。 預設值為 Delegation

備註

模擬等級決定伺服器如何使用客戶端的憑證。

適用於