Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ToString Method
Collapse the table of content
Expand the table of content

EndpointPermission.ToString Method

Returns a string that represents the current EndpointPermission instance.

Namespace:  System.Net
Assembly:  System (in System.dll)

abstract ToString : unit -> string  
override ToString : unit -> string

Return Value

Type: System.String
A string that represents the current EndpointPermission instance.

The ToString method returns a string that represents the contents for the EndpointPermission instance. The string is in the form Hostname # Port # Transport.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft