代码拉取完成,页面将自动刷新
#region S# License
/******************************************************************************************
NOTICE!!! This program and source code is owned and licensed by
StockSharp, LLC, www.stocksharp.com
Viewing or use of this code requires your acceptance of the license
agreement found at https://github.com/StockSharp/StockSharp/blob/master/LICENSE
Removal of this comment is a violation of the license agreement.
Project: StockSharp.Messages.Messages
File: PortfolioLookupResultMessage.cs
Created: 2015, 11, 11, 2:32 PM
Copyright 2010 by StockSharp, LLC
*******************************************************************************************/
#endregion S# License
namespace StockSharp.Messages
{
using System;
using System.Runtime.Serialization;
/// <summary>
/// Portfolio lookup result message.
/// </summary>
[DataContract]
[Serializable]
public class PortfolioLookupResultMessage : Message
{
/// <summary>
/// ID of the original message <see cref="PortfolioMessage.TransactionId"/> for which this message is a response.
/// </summary>
[DataMember]
public long OriginalTransactionId { get; set; }
/// <summary>
/// Portfolio lookup error info.
/// </summary>
[DataMember]
public Exception Error { get; set; }
/// <summary>
/// Initializes a new instance of the <see cref="PortfolioLookupResultMessage"/>.
/// </summary>
public PortfolioLookupResultMessage()
: base(MessageTypes.PortfolioLookupResult)
{
}
/// <summary>
/// Create a copy of <see cref="PortfolioLookupResultMessage"/>.
/// </summary>
/// <returns>Copy.</returns>
public override Message Clone()
{
return new PortfolioLookupResultMessage
{
OriginalTransactionId = OriginalTransactionId,
LocalTime = LocalTime,
Error = Error
};
}
/// <summary>
/// Returns a string that represents the current object.
/// </summary>
/// <returns>A string that represents the current object.</returns>
public override string ToString()
{
return base.ToString() + $",Orig={OriginalTransactionId}";
}
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。