Udostępnij za pośrednictwem


RemoteObject Class

This API supports the Visual Studio Tools for Applications infrastructure and is not intended to be used directly from your code.

NOTE: This API is now obsolete.

Provides a proxy object for an instance of IRemoteObjectContract that can be accessed across application domain and process boundaries.

Namespace:  Microsoft.VisualStudio.Tools.Applications
Assembly:  Microsoft.VisualStudio.Tools.Applications.Adapter.v9.0 (in Microsoft.VisualStudio.Tools.Applications.Adapter.v9.0.dll)

Syntax

'Declaration
<ObsoleteAttribute("This class is superseded by DynamicProxy. Use DynamicProxy.CreateProxy instead",  _
    False)> _
<SecurityPermissionAttribute(SecurityAction.InheritanceDemand, Unrestricted := True)> _
Public Class RemoteObject _
    Implements IDisposable, IProxy
'Usage
Dim instance As RemoteObject
[ObsoleteAttribute("This class is superseded by DynamicProxy. Use DynamicProxy.CreateProxy instead", 
    false)]
[SecurityPermissionAttribute(SecurityAction.InheritanceDemand, Unrestricted = true)]
public class RemoteObject : IDisposable, 
    IProxy
[ObsoleteAttribute(L"This class is superseded by DynamicProxy. Use DynamicProxy.CreateProxy instead", 
    false)]
[SecurityPermissionAttribute(SecurityAction::InheritanceDemand, Unrestricted = true)]
public ref class RemoteObject : IDisposable, 
    IProxy
public class RemoteObject implements IDisposable, IProxy

Remarks

RemoteObject provides access to IRemoteObjectContract. RemoteObject enables a client to perform reflection on a remote object without exposing other types across remoting boundaries. A client can also call methods, properties, and events of the remote object. The details of type coercion are hidden in this proxy so the client does not have to interact directly with IRemoteObjectContract.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Tools.Applications.RemoteObject

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

RemoteObject Members

Microsoft.VisualStudio.Tools.Applications Namespace