ModuleProvider.SetChildDelegationState(String, DelegationState) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在派生类中实现时,设置指定路径的指定委派状态。
public:
virtual void SetChildDelegationState(System::String ^ path, Microsoft::Web::Management::Server::DelegationState ^ delegationState);
public virtual void SetChildDelegationState (string path, Microsoft.Web.Management.Server.DelegationState delegationState);
abstract member SetChildDelegationState : string * Microsoft.Web.Management.Server.DelegationState -> unit
override this.SetChildDelegationState : string * Microsoft.Web.Management.Server.DelegationState -> unit
参数
- path
- String
调用主机的路径。
- delegationState
- DelegationState
要设置的 DelegationState。
示例
以下示例演示如何重写 SetChildDelegationState 派生类中的 方法。
public override void SetChildDelegationState(string path, DelegationState state) {
_delState = state;
if (base.SupportsDelegation != true)
return;
base.SetChildDelegationState(path, state);
}
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈