语言

NetCodeGroup.AnyOtherOriginScheme 字段

定义

包含一个值,该值用于指定任何其他未指定的源方案。

public: static initonly System::String ^ AnyOtherOriginScheme;
public static readonly string AnyOtherOriginScheme;
 staticval mutable AnyOtherOriginScheme : string
Public Shared ReadOnly AnyOtherOriginScheme As String 

字段值

注解

调用 AddConnectAccess 该方法时,可以指定方案和关联的 CodeConnectAccess 对象。 可以使用字段的值 AnyOtherOriginScheme 来指定 CodeConnectAccess 应用于添加到当前 NetCodeGroup 对象的源方案集中未显式包含的任何方案的对象。

CodeConnectAccess仅当代码的源方案与添加到当前AnyOtherOriginScheme对象的源方案集中包含的任何方案不匹配时,才使用使用NetCodeGroup字段指定的对象。

若要指定 CodeConnectAccess 当代码的源方案在其证据中不可用或无法识别时要应用的对象,请使用 AbsentOriginScheme 该值。

字段的值为 AnyOtherOriginScheme “*”。

适用于