MapsCorsRule(IEnumerable<String>) Constructor
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.
Initializes a new instance of MapsCorsRule.
public MapsCorsRule(System.Collections.Generic.IEnumerable<string> allowedOrigins);
new Azure.ResourceManager.Maps.Models.MapsCorsRule : seq<string> -> Azure.ResourceManager.Maps.Models.MapsCorsRule
Public Sub New (allowedOrigins As IEnumerable(Of String))
Parameters
- allowedOrigins
- IEnumerable<String>
Required if CorsRule element is present. A list of origin domains that will be allowed via CORS, or "*" to allow all domains.
Exceptions
allowedOrigins
is null.
Applies to
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET