This documentation is archived and is not being maintained.

ServiceType Constructor

.NET Framework 1.1

Initializes a new instance of the ServiceType class.

Overload List

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

[Visual Basic] Public Sub New(Type)
[C#] public ServiceType(Type);
[C++] public: ServiceType(Type*);
[JScript] public function ServiceType(Type);

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.

[Visual Basic] Public Sub New(Type, String)
[C#] public ServiceType(Type, string);
[C++] public: ServiceType(Type*, String*);
[JScript] public function ServiceType(Type, String);

See Also

ServiceType Class | ServiceType Members | System.Runtime.Remoting.MetadataServices Namespace

Show: