NetCodeGroup.AbsentOriginScheme 字段

定义

包含一个值,该值用于为具有未知或无法识别的源方案的代码指定连接访问。

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

字段值

注解

调用 AddConnectAccess 该方法时,可以指定方案和关联的 CodeConnectAccess 对象。 当代码的源方案不存在在其证据中或不是对象识别CodeConnectAccess的方案时,将应用添加到 NetCodeGroup using AbsentOriginScheme 作为源方案的任何NetCodeGroup对象。

若要指定 CodeConnectAccess 当代码的源方案与添加到当前 NetCodeGroup 对象的源方案集中包含的任何方案不匹配时要使用的对象,请使用 AnyOtherOriginScheme 该值。

字段的值 AbsentOriginScheme 是空字符串(“)。

适用于