C# Класс GSF.ServiceProcess.ServiceResponse

Наследование: ISerializable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
ServiceResponse ( SerializationInfo info, StreamingContext context ) : System

Creates a new ClientRequest from serialization parameters.

Описание методов

GetObjectData() публичный Метод

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.
Результат void

ServiceResponse() публичный Метод

Initializes a new instance of the ServiceResponse class.
public ServiceResponse ( ) : System
Результат System

ServiceResponse() защищенный Метод

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.
Результат System

ServiceResponse() публичный Метод

Initializes a new instance of the ServiceResponse class.
public ServiceResponse ( string type ) : System
type string Type of the in plain text.
Результат System

ServiceResponse() публичный Метод

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 .
Результат System