Dela via


IServerDelegationFeature.CreateDelegationRule(String, String) Method

Definition

Create a delegation rule on request queue owned by the server.

public:
 Microsoft::AspNetCore::Server::HttpSys::DelegationRule ^ CreateDelegationRule(System::String ^ queueName, System::String ^ urlPrefix);
public Microsoft.AspNetCore.Server.HttpSys.DelegationRule CreateDelegationRule (string queueName, string urlPrefix);
abstract member CreateDelegationRule : string * string -> Microsoft.AspNetCore.Server.HttpSys.DelegationRule
Public Function CreateDelegationRule (queueName As String, urlPrefix As String) As DelegationRule

Parameters

queueName
String

The name of the Http.Sys request queue.

urlPrefix
String

The URL of the Http.Sys Url Prefix.

Returns

Creates a DelegationRule that can used to delegate individual requests.

Applies to