Class WsResponse
Represents ws response.
Inheritance
Implements
Inherited Members
Namespace: Mediachase.BusinessFoundation.Data.WebServices
Assembly: Mediachase.BusinessFoundation.Data.dll
Version: 10.8.0Syntax
public sealed class WsResponse : IXmlSerializable
Constructors
WsResponse()
Initializes a new instance of the WsResponse class.
Declaration
public WsResponse()
WsResponse(Response)
Initializes a new instance of the WsResponse class.
Declaration
public WsResponse(Response response)
Parameters
Type | Name | Description |
---|---|---|
Response | response | The response. |
Properties
InnerResponse
Declaration
public Response InnerResponse { get; set; }
Property Value
Type | Description |
---|---|
Response |
Methods
Create(Response)
Creates the specified response.
Declaration
public static WsResponse Create(Response response)
Parameters
Type | Name | Description |
---|---|---|
Response | response | The response. |
Returns
Type | Description |
---|---|
WsResponse |
GetSchema()
This method is reserved and should not be used. When implementing the IXmlSerializable interface, you should return null (Nothing in Visual Basic) from this method, and instead, if specifying a custom schema is required, apply the System.Xml.Serialization.XmlSchemaProviderAttribute to the class.
Declaration
public XmlSchema GetSchema()
Returns
Type | Description |
---|---|
System.Xml.Schema.XmlSchema | An System.Xml.Schema.XmlSchema that describes the XML representation of the object that is produced by the System.Xml.Serialization.IXmlSerializable.WriteXml(System.Xml.XmlWriter) method and consumed by the System.Xml.Serialization.IXmlSerializable.ReadXml(System.Xml.XmlReader) method. |
ReadXml(XmlReader)
Generates an object from its XML representation.
Declaration
public void ReadXml(XmlReader reader)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlReader | reader | The System.Xml.XmlReader stream from which the object is deserialized. |
WriteXml(XmlWriter)
Converts an object into its XML representation.
Declaration
public void WriteXml(XmlWriter writer)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlWriter | writer | The System.Xml.XmlWriter stream to which the object is serialized. |