ServiceDescription::Read Method (Stream^, Boolean)
.NET Framework (current version)
Initializes an instance of the ServiceDescription class by directly loading the XML from a Stream instance.
Assembly: System.Web.Services (in System.Web.Services.dll)
Parameters
- stream
-
Type:
System.IO::Stream^
A Stream, passed by reference, which contains the bytes 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::ServiceDescription^An instance of the ServiceDescription.
.NET Framework
Available since 2.0
Available since 2.0
Show: