C# Class GSF.ServiceProcess.ServiceResponse

Inheritance: ISerializable
Mostrar archivo Open project: GridProtectionAlliance/gsf Class Usage Examples

Public Methods

Method Description
GetObjectData ( SerializationInfo info, StreamingContext context ) : void

Populates a SerializationInfo with the data needed to serialize the target object.

ServiceResponse ( ) : System

Initializes a new instance of the ServiceResponse class.

ServiceResponse ( string type ) : System

Initializes a new instance of the ServiceResponse class.

ServiceResponse ( string type, string message ) : System

Initializes a new instance of the ServiceResponse class.

Protected Methods

Method Description
ServiceResponse ( SerializationInfo info, StreamingContext context ) : System

Creates a new ClientRequest from serialization parameters.

Method Details

GetObjectData() public method

Populates a SerializationInfo with the data needed to serialize the target object.
The caller does not have the required permission.
public GetObjectData ( SerializationInfo info, StreamingContext context ) : void
info System.Runtime.Serialization.SerializationInfo The to populate with data.
context System.Runtime.Serialization.StreamingContext The destination (see ) for this serialization.
return void

ServiceResponse() public method

Initializes a new instance of the ServiceResponse class.
public ServiceResponse ( ) : System
return System

ServiceResponse() protected method

Creates a new ClientRequest from serialization parameters.
protected ServiceResponse ( SerializationInfo info, StreamingContext context ) : System
info System.Runtime.Serialization.SerializationInfo The with populated with data.
context System.Runtime.Serialization.StreamingContext The source for this deserialization.
return System

ServiceResponse() public method

Initializes a new instance of the ServiceResponse class.
public ServiceResponse ( string type ) : System
type string Type of the in plain text.
return System

ServiceResponse() public method

Initializes a new instance of the ServiceResponse class.
public ServiceResponse ( string type, string message ) : System
type string Type of the in plain-text.
message string Message associated with the .
return System