C# Class GSF.ServiceProcess.ClientRequest

Inheritance: ISerializable
Exibir arquivo Open project: GridProtectionAlliance/gsf Class Usage Examples

Public Methods

Method Description
ClientRequest ( ) : System

Initializes a new instance of the ClientRequest class.

ClientRequest ( string command ) : System

Initializes a new instance of the ClientRequest class.

ClientRequest ( string command, System.Arguments arguments ) : System

Initializes a new instance of the ClientRequest class.

GetObjectData ( SerializationInfo info, StreamingContext context ) : void

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

Parse ( string text ) : ClientRequest

Converts string to a ClientRequest.

ToString ( ) : string

Returns the String that represents the ClientRequest.

Protected Methods

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

Creates a new ClientRequest from serialization parameters.

Method Details

ClientRequest() public method

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

ClientRequest() protected method

Creates a new ClientRequest from serialization parameters.
protected ClientRequest ( 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

ClientRequest() public method

Initializes a new instance of the ClientRequest class.
public ClientRequest ( string command ) : System
command string Command text for the .
return System

ClientRequest() public method

Initializes a new instance of the ClientRequest class.
public ClientRequest ( string command, System.Arguments arguments ) : System
command string Command text for the .
arguments System.Arguments for the .
return System

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

Parse() public static method

Converts string to a ClientRequest.
public static Parse ( string text ) : ClientRequest
text string Text to be converted to a .
return ClientRequest

ToString() public method

Returns the String that represents the ClientRequest.
public ToString ( ) : string
return string