The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
ChannelServices::GetUrlsForObject Method (MarshalByRefObject^)
.NET Framework (current version)
Returns an array of all the URLs that can be used to reach the specified object.
Assembly: mscorlib (in mscorlib.dll)
public: [SecurityCriticalAttribute] static array<String^>^ GetUrlsForObject( MarshalByRefObject^ obj )
Parameters
- obj
-
Type:
System::MarshalByRefObject^
The object to retrieve the URL array for.
Return Value
Type: array<System::String^>^An array of strings that contains the URLs that can be used to remotely identify the object, or null if none were found.
| Exception | Condition |
|---|---|
| SecurityException | The immediate caller does not have infrastructure permission. |
SecurityPermission
For operating with infrastructure code. Demand value: SecurityAction::LinkDemand; Permission value: SecurityPermissionFlag::Infrastructure
.NET Framework
Available since 1.1
Available since 1.1
Show: