ServiceDescription.Read Method (String, Boolean)

 

Initializes an instance of a ServiceDescription object by directly loading the XML from the specified file.

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

public static ServiceDescription Read(
	string fileName,
	bool validate
)

Parameters

fileName
Type: System.String

The path to the file to be read.

validate
Type: System.Boolean

A Boolean that indicates whether the XML should be validated against the schema specified by Schema.

.NET Framework
Available since 2.0
Return to top
Show: