Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

CodeConnectAccess Members

Specifies the network resource access that is granted to code.

The CodeConnectAccess type exposes the following members.

  NameDescription
Public method CodeConnectAccess Initializes a new instance of the CodeConnectAccess class.
Top

  NameDescription
Public method Static member CreateAnySchemeAccess Returns a CodeConnectAccess instance that represents access to the specified port using any scheme.
Public method Static member CreateOriginSchemeAccess Returns a CodeConnectAccess instance that represents access to the specified port using the code's scheme of origin.
Public method Equals Returns a value indicating whether two CodeConnectAccess objects represent the same scheme and port. (Overrides Object.Equals(Object).)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Overrides Object.GetHashCode().)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public field Static member AnyScheme Contains the string value that represents the scheme wildcard.
Public field Static member DefaultPort Contains the value used to represent the default port.
Public field Static member OriginPort Contains the value used to represent the port value in the URI where code originated.
Public field Static member OriginScheme Contains the value used to represent the scheme in the URL where the code originated.
Top

  NameDescription
Public property Port Gets the port represented by the current instance.
Public property Scheme Gets the URI scheme represented by the current instance.
Top

Community Additions

ADD
Show:
© 2015 Microsoft