ServiceDescription.Read Method (String, Boolean)
.NET Framework (current version)
Initializes an instance of a ServiceDescription object by directly loading the XML from the specified file.
Assembly: System.Web.Services (in System.Web.Services.dll)
Public Shared Function Read ( fileName As String, validate As Boolean ) As ServiceDescription
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.
Return Value
Type: System.Web.Services.Description.ServiceDescriptionAn instance of the ServiceDescription.
.NET Framework
Available since 2.0
Available since 2.0
Show: