This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Download Microsoft Edge
More info about Internet Explorer and Microsoft Edge
public:
static System::Object ^ GetObject(Type ^ type, System::String ^ url);
public static object GetObject (Type type, string url);
[System.Security.SecurityCritical]
public static object GetObject (Type type, string url);
static member GetObject : Type * string -> obj
[<System.Security.SecurityCritical>]
static member GetObject : Type * string -> obj
Public Shared Function GetObject (type As Type, url As String) As Object
Parameters
public:
static System::Object ^ GetObject(Type ^ type, System::String ^ url, System::Object ^ state);
public static object GetObject (Type type, string url, object state);
[System.Security.SecurityCritical]
public static object GetObject (Type type, string url, object state);
static member GetObject : Type * string * obj -> obj
[<System.Security.SecurityCritical>]
static member GetObject : Type * string * obj -> obj
Public Shared Function GetObject (type As Type, url As String, state As Object) As Object
Parameters
Remarks
Call the proxy to send messages to the remote object. No messages are sent over the network until a method is called on the proxy.
The
state
parameter communicates information to the channel, and is passed to the
IChannelSender.CreateMessageSink
method.