NetCodeGroup.AbsentOriginScheme 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 connection access for code with an unknown or unrecognized origin scheme.
public: static initonly System::String ^ AbsentOriginScheme;
public static readonly string AbsentOriginScheme;
staticval mutable AbsentOriginScheme : string
Public Shared ReadOnly AbsentOriginScheme As String
Field Value
Remarks
When calling the AddConnectAccess method, you specify a scheme and an associated CodeConnectAccess object. Any CodeConnectAccess objects that you add to the NetCodeGroup using AbsentOriginScheme as the origin scheme are applied when the code's origin scheme is not present in its evidence, or is not a scheme recognized by the NetCodeGroup object.
To specify the CodeConnectAccess objects to use when 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, use the AnyOtherOriginScheme value.
The value of the AbsentOriginScheme field is an empty string ("").
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈