GSF.ServiceProcess.ClientInfo.GetObjectData C# (CSharp) Méthode

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
        public virtual void GetObjectData(SerializationInfo info, StreamingContext context)
        {
            // Serialize client request fields
            info.AddValue("clientID", m_clientID);
            info.AddValue("clientType", m_clientType, typeof(ApplicationType));
            info.AddValue("clientName", m_clientName);
            info.AddValue("clientUserCredentials", m_clientUserCredentials);
            info.AddValue("machineName", m_machineName);
            info.AddValue("connectedAt", m_connectedAt);
        }