System.Runtime.Remoting.MetadataServices.ServiceType Class

Assembly: System.Runtime.Remoting.dll
Namespace: System.Runtime.Remoting.MetadataServices
Summary
Associates a well-known object type that is passed to the Web Services Description Language (WSDL) generator with a remote endpoint that can process messages sent to a method on the type.
C# Syntax:
public class ServiceType
Remarks
The ServiceType class is used to hold information specified on the command line to the through the -types argument.
See also:
System.Runtime.Remoting.MetadataServices Namespace

System.Runtime.Remoting.MetadataServices.ServiceType Member List:

Public Constructors
ctor #1 Overloaded:
.ctor(Type type)

Initializes a new instance of the ServiceType class with the object Type that is passed to the Web Services Description Language (WSDL) generator.
ctor #2 Overloaded:
.ctor(Type type, string url)

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 Properties
ObjectType Read-only

Gets the object Type that is passed to the Web Services Description Language (WSDL) generator.
Url Read-only

Gets the URL of an object Type that is passed to the Web Services Description Language (WSDL) generator.
Public Methods
Equals
(inherited from System.Object)
See base class member description: System.Object.Equals

Derived from System.Object, the primary base class for all objects.
GetHashCode
(inherited from System.Object)
See base class member description: System.Object.GetHashCode

Derived from System.Object, the primary base class for all objects.
GetType
(inherited from System.Object)
See base class member description: System.Object.GetType

Derived from System.Object, the primary base class for all objects.
ToString
(inherited from System.Object)
See base class member description: System.Object.ToString

Derived from System.Object, the primary base class for all objects.
Protected Methods
Finalize
(inherited from System.Object)
See base class member description: System.Object.Finalize

Derived from System.Object, the primary base class for all objects.
MemberwiseClone
(inherited from System.Object)
See base class member description: System.Object.MemberwiseClone

Derived from System.Object, the primary base class for all objects.

Hierarchy:


System.Runtime.Remoting.MetadataServices.ServiceType Member Details

Overloaded ctor #1
Summary
Initializes a new instance of the ServiceType class with the object Type that is passed to the Web Services Description Language (WSDL) generator.
C# Syntax:
public ServiceType(
   Type type
);
Parameters:

type

The object Type that is passed to the WSDL generator.

Return to top


Overloaded ctor #2
Summary
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.
C# Syntax:
public ServiceType(
   Type type,
   string url
);
Parameters:

type

The object Type that is passed to the WSDL generator.

url

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

Return to top


Property: ObjectType (read-only)
Summary
Gets the object Type that is passed to the Web Services Description Language (WSDL) generator.
C# Syntax:
public Type ObjectType {get;}

Return to top


Property: Url (read-only)
Summary
Gets the URL of an object Type that is passed to the Web Services Description Language (WSDL) generator.
C# Syntax:
public string Url {get;}

Return to top


Method: Equals(
   object obj
)
Inherited
See base class member description: System.Object.Equals
C# Syntax:
public virtual bool Equals(
   object obj
);

For more information on members inherited from System.Object click on the link above.

Return to top


Method: Finalize()
Inherited
See base class member description: System.Object.Finalize
C# Syntax:
~ServiceType();

For more information on members inherited from System.Object click on the link above.

Return to top


Method: GetHashCode()
Inherited
See base class member description: System.Object.GetHashCode
C# Syntax:
public virtual int GetHashCode();

For more information on members inherited from System.Object click on the link above.

Return to top


Method: GetType()
Inherited
See base class member description: System.Object.GetType
C# Syntax:
public Type GetType();

For more information on members inherited from System.Object click on the link above.

Return to top


Method: MemberwiseClone()
Inherited
See base class member description: System.Object.MemberwiseClone
C# Syntax:
protected object MemberwiseClone();

For more information on members inherited from System.Object click on the link above.

Return to top


Method: ToString()
Inherited
See base class member description: System.Object.ToString
C# Syntax:
public virtual string ToString();

For more information on members inherited from System.Object click on the link above.

Return to top


Top of page

Copyright (c) 2002 Microsoft Corporation. All rights reserved.