- originScheme
- A string containing the scheme to match against the code's scheme.
- connectAccess
- A System.Security.Policy.CodeConnectAccess that specifies the scheme and port code can use to connect back to its origin server.
You can add multiple System.Security.Policy.CodeConnectAccess objects for the same origin scheme. If an origin scheme already has one or more associated System.Security.Policy.CodeConnectAccess objects, specifying null for connectAccess has no effect. If the origin scheme does not have associated System.Security.Policy.CodeConnectAccess objects, specifying null for connectAccess prevents code with an origin scheme that matches originScheme from accessing its origin server.