https://www.screencast.com/t/3md5Px1n
Hi,
v9.3.105.1345
Error Message:
“Object cannot be stored in an array of this type.”
Stack Trace:
at System.Array.InternalSetValue(Void* target, Object value)
at System.Array.SetValue(Object value, Int32 index)
at RemObjects.SDK.BinSerializer.ReadArray(String name, Type type, StreamingFormat format)
at RemObjects.SDK.Message.Read(String name, Type type, StreamingFormat format)
at Chronicle.DataAccess.Remote2.FileTransferService_Proxy.GetDirectory(String FullPath) in C:\Users\Me\Documents\GitHub\Chronicle-Svr-Utilities\Chronicle.MultiPartDownload\Chronicle_DataAccess_Remote2_Intf.cs:line 12296
at Chronicle.MultiPartDownload.MultipartDownload.GetDirectoryData() in C:\Users\Me\Documents\GitHub\Chronicle-Svr-Utilities\Chronicle.MultiPartDownload\MultipartDownload.cs:line 100
My Class:
namespace Chronicle.Base.Types
{
[System.Reflection.ObfuscationAttribute(Exclude = true)]
public class TFileInfo : RemObjects.SDK.Types.ComplexType
{
private string @__FileName;
private long @__Size;
private string @__TypeName;
[RemObjects.SDK.StreamAs(RemObjects.SDK.StreamingFormat.AnsiString)]
public virtual string FileName
{
get
{
return @__FileName;
}
set
{
@__FileName = value;
this.TriggerPropertyChanged("FileName");
}
}
public virtual long Size
{
get
{
return @__Size;
}
set
{
@__Size = value;
this.TriggerPropertyChanged("Size");
}
}
[RemObjects.SDK.StreamAs(RemObjects.SDK.StreamingFormat.AnsiString)]
public virtual string TypeName
{
get
{
return @__TypeName;
}
set
{
@__TypeName = value;
this.TriggerPropertyChanged("TypeName");
}
}
}
}
Thanks for your help!
Todd