PipeStreamImpersonationWorker 委托

定义

表示作为客户端调用的方法。Represents the method to call as the client.

public delegate void PipeStreamImpersonationWorker();
public delegate void PipeStreamImpersonationWorker();
type PipeStreamImpersonationWorker = delegate of unit -> unit
Public Delegate Sub PipeStreamImpersonationWorker()
继承
PipeStreamImpersonationWorker

注解

使用此委托指定模拟客户端时要调用的方法。Use this delegate to specify a method to call when impersonating the client. 连接客户端的权限将应用到远程服务器。The connecting client's permissions are applied to the remote server. 例如, 如果连接客户端尝试请求服务器上的文件的内容, 则客户端只会请求具有足够权限打开的文件。For example, if the connecting client tries to request the contents of a file on the server, the client can request only files that it has sufficient permissions to open.

扩展方法

GetMethodInfo(Delegate)

获取指示指定委托表示的方法的对象。Gets an object that represents the method represented by the specified delegate.

适用于