NetCodeGroup.AnyOtherOriginScheme Field
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.
Contains a value used to specify any other unspecified origin scheme.
public: static initonly System::String ^ AnyOtherOriginScheme;
public static readonly string AnyOtherOriginScheme;
staticval mutable AnyOtherOriginScheme : string
Public Shared ReadOnly AnyOtherOriginScheme As String
Field Value
Remarks
When calling the AddConnectAccess method, you specify a scheme and an associated CodeConnectAccess object. You can use the value of the AnyOtherOriginScheme field to specify the CodeConnectAccess objects that should be used for any scheme that is not explicitly contained in the set of origin schemes added to the current NetCodeGroup object.
The CodeConnectAccess objects specified with the AnyOtherOriginScheme field are only used if the code's origin scheme does not match any of the schemes contained in the set of origin schemes added to the current NetCodeGroup object.
To specify the CodeConnectAccess objects to apply when the code's origin scheme is not available in its evidence or is not recognized, use the AbsentOriginScheme value.
The value of the AnyOtherOriginScheme field is "*".
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈