CorsPolicy.IsOriginAllowed Property
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.
Gets or sets a function which evaluates whether an origin is allowed.
public:
property Func<System::String ^, bool> ^ IsOriginAllowed { Func<System::String ^, bool> ^ get(); void set(Func<System::String ^, bool> ^ value); };
public Func<string,bool> IsOriginAllowed { get; set; }
member this.IsOriginAllowed : Func<string, bool> with get, set
Public Property IsOriginAllowed As Func(Of String, Boolean)