NetCodeGroup.AnyOtherOriginScheme 字段
定义
包含一个值,用于指定任何其他未指定的原始方案。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
字段值
注解
调用方法时 AddConnectAccess ,指定方案和关联的 CodeConnectAccess 对象。When calling the AddConnectAccess method, you specify a scheme and an associated CodeConnectAccess object. 您可以使用字段的值 AnyOtherOriginScheme 来指定 CodeConnectAccess 应用于未显式包含在添加到当前对象的源方案集内的任何方案的对象 NetCodeGroup 。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.
CodeConnectAccess AnyOtherOriginScheme 仅当代码的原始方案与添加到当前对象的源方案集内包含的任何方案都不匹配时,才使用通过字段指定的对象 NetCodeGroup 。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.
若要指定在 CodeConnectAccess 代码的原始方案在其证据中不可用或无法识别时要应用的对象,请使用 AbsentOriginScheme 值。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.
该字段的值 AnyOtherOriginScheme 为 "*"。The value of the AnyOtherOriginScheme field is "*".