共用方式為


ServiceProxy<TService>.ValidateAuthentication Method

Definition

Authenticates the client and creates a new service channel.

protected:
 virtual void ValidateAuthentication();
protected virtual void ValidateAuthentication ();
abstract member ValidateAuthentication : unit -> unit
override this.ValidateAuthentication : unit -> unit
Protected Overridable Sub ValidateAuthentication ()

Remarks

If the IsAuthenticated property is set to false, the Authenticate() method is invoked. If the ServiceChannel property is set to null, a new service channel is created.

Applies to