ModuleProvider.SetChildDelegationState(String, DelegationState) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
When implemented in a derived class, sets the specified delegation state for the specified path.
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
Parameters
- path
- String
The path of the calling host.
- delegationState
- DelegationState
The DelegationState to set.
Examples
The following example shows how to override the SetChildDelegationState method in a derived class.
public override void SetChildDelegationState(string path, DelegationState state) {
_delState = state;
if (base.SupportsDelegation != true)
return;
base.SetChildDelegationState(path, state);
}