SPChannelFactoryOperations 成员

提供了一组静态方法执行与 WCF 通道工厂的操作。

SPChannelFactoryOperations 类型公开以下成员。

方法

  名称 说明
公共方法静态成员 ConfigureCredentials<TChannel> 配置通道工厂凭据的身份验证指定的模式。
公共方法静态成员 CreateChannelActingAsLoggedOnUser<TChannel>(ChannelFactory<TChannel>) CreateChannelAsLoggedOnUser创建 WCF 通道,使用作为令牌。作为令牌表示进程标识 (使用者) 和用户标识。此标记委派给后端服务器的用户的标识。委派,则操作。
公共方法静态成员 CreateChannelActingAsLoggedOnUser<TChannel>(ChannelFactory<TChannel>, EndpointAddress) CreateChannelAsLoggedOnUser creates a WCF channel, using an 'act as' token. The 'act as' token represents process identity (actor) and user identity. This token delegates the user’s identity to the back end server. Delegation is an expensive operation.
公共方法静态成员 CreateChannelActingAsLoggedOnUser<TChannel>(ChannelFactory<TChannel>, EndpointAddress, Uri) CreateChannelAsLoggedOnUser creates a WCF channel, using an 'act as' token. The 'act as' token represents process identity (actor) and user identity. This token delegates the user’s identity to the back end server. Delegation is an expensive operation.
公共方法静态成员 CreateChannelAsProcess<TChannel>(ChannelFactory<TChannel>) Creates a channel that is used to send messages to a service as the current process identity with the specified kind of channel and factory.
公共方法静态成员 CreateChannelAsProcess<TChannel>(ChannelFactory<TChannel>, EndpointAddress) Creates a channel that is used to send messages to a service as the current process identity with the specified kind of channel and factory and endpoint address.
公共方法静态成员 CreateChannelAsProcess<TChannel>(ChannelFactory<TChannel>, EndpointAddress, Uri) Creates a channel that is used to send messages to a service as the current process identity with the specified kind of channel, factory, endpoint address, and URI.

页首

另请参阅

引用

SPChannelFactoryOperations 类

Microsoft.SharePoint 命名空间