C# Class GSF.ServiceProcess.ServiceResponse

Inheritance: ISerializable
Afficher le fichier Open project: GridProtectionAlliance/gsf Class Usage Examples

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode Description
ServiceResponse ( SerializationInfo info, StreamingContext context ) : System

Creates a new ClientRequest from serialization parameters.

Method Details

GetObjectData() public méthode

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.
Résultat void

ServiceResponse() public méthode

Initializes a new instance of the ServiceResponse class.
public ServiceResponse ( ) : System
Résultat System

ServiceResponse() protected méthode

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.
Résultat System

ServiceResponse() public méthode

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

ServiceResponse() public méthode

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 .
Résultat System