CorsPolicyBuilder.SetIsOriginAllowedToAllowWildcardSubdomains Метод

Определение

IsOriginAllowed Задает свойство политики как функцию, которая позволяет источникам сопоставляться с настроенным доменом с подстановочными знаками при оценке допустимости источника.

public:
 Microsoft::AspNetCore::Cors::Infrastructure::CorsPolicyBuilder ^ SetIsOriginAllowedToAllowWildcardSubdomains();
public Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder SetIsOriginAllowedToAllowWildcardSubdomains ();
member this.SetIsOriginAllowedToAllowWildcardSubdomains : unit -> Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder
Public Function SetIsOriginAllowedToAllowWildcardSubdomains () As CorsPolicyBuilder

Возвращаемое значение

Текущий построитель политик.

Применяется к