Bewerken

Delen via


IClrObjectFactory.CreateFromWsdl(String, String) Method

Definition

Activates a remote assembly through .NET remoting, using the Web Services Description Language (WSDL) of the XML Web service.

public:
 System::Object ^ CreateFromWsdl(System::String ^ WsdlUrl, System::String ^ Mode);
public object CreateFromWsdl (string WsdlUrl, string Mode);
abstract member CreateFromWsdl : string * string -> obj
Public Function CreateFromWsdl (WsdlUrl As String, Mode As String) As Object

Parameters

WsdlUrl
String

The WSDL URL of the Web service.

Mode
String

Not used.

Returns

An instance of the Object representing the type, with culture, arguments, and binding and activation attributes set to null, or null if the assembly identified by the WsdlUrl parameter is not found.

Exceptions

A caller in the call chain does not have permission to access unmanaged code.

The thread token could not be opened.

Remarks

Processes the WSDL passed in and, if necessary, generates a proxy, then activates the remote object.

Applies to