Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Reflect Method
Collapse the table of content
Expand the table of content

ServiceDescriptionReflector.Reflect Method

Creates a ServiceDescription including the specified Type for the XML Web service at the specified URL.

Namespace:  System.Web.Services.Description
Assembly:  System.Web.Services (in System.Web.Services.dll)

public void Reflect(
	Type type,
	string url
)

Parameters

type
Type: System.Type

The Type of the class or interface to reflect.

url
Type: System.String

The address (URL) of the XML Web service.

This method examines the metadata for the XML Web service at the specified URL. If the specified Type is not supported, it modifies the Web Services Description Language (WSDL) file corresponding to the ServiceDescription describing the XML Web service, in order to include that type.

For more information about Web Services Description Language (WSDL), see the specification at http://www.w3.org/TR/wsdl/.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 3.5 SP1
Show:
© 2015 Microsoft