ServiceType Constructors

Definition

Initializes a new instance of the ServiceType class.

Overloads

ServiceType(Type)

Initializes a new instance of the ServiceType class with the object Type that is passed to the Web Services Description Language (WSDL) generator.

ServiceType(Type, String)

Initializes a new instance of the ServiceType class with the URL and Type of an object that is passed to the Web Services Description Language (WSDL) generator.

ServiceType(Type)

Initializes a new instance of the ServiceType class with the object Type that is passed to the Web Services Description Language (WSDL) generator.

public:
 ServiceType(Type ^ type);
public ServiceType (Type type);
new System.Runtime.Remoting.MetadataServices.ServiceType : Type -> System.Runtime.Remoting.MetadataServices.ServiceType
Public Sub New (type As Type)

Parameters

type
Type

The object Type that is passed to the WSDL generator.

Applies to

ServiceType(Type, String)

Initializes a new instance of the ServiceType class with the URL and Type of an object that is passed to the Web Services Description Language (WSDL) generator.

public:
 ServiceType(Type ^ type, System::String ^ url);
public ServiceType (Type type, string url);
new System.Runtime.Remoting.MetadataServices.ServiceType : Type * string -> System.Runtime.Remoting.MetadataServices.ServiceType
Public Sub New (type As Type, url As String)

Parameters

type
Type

The object Type that is passed to the WSDL generator.

url
String

The well-known endpoint that can process messages that are sent to a method on the object type that is specified in the type parameter.

Applies to