Επεξεργασία

Κοινή χρήση μέσω


NetCodeGroup.AnyOtherOriginScheme Field

Definition

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