ServiceType Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
- 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.