Skip to content

Commit

Permalink
为点对点 Search() API 增加 getItemInfoEx 子功能
Browse files Browse the repository at this point in the history
  • Loading branch information
DigitalPlatform committed Oct 19, 2022
1 parent c05caf9 commit 4a5d32f
Show file tree
Hide file tree
Showing 7 changed files with 409 additions and 195 deletions.
2 changes: 1 addition & 1 deletion ChordInstaller/ChordInstaller.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<SuiteName>Chord</SuiteName>
<CreateWebPageOnPublish>true</CreateWebPageOnPublish>
<WebPage>publish.htm</WebPage>
<ApplicationRevision>93</ApplicationRevision>
<ApplicationRevision>94</ApplicationRevision>
<ApplicationVersion>1.2.0.%2a</ApplicationVersion>
<UseApplicationTrust>false</UseApplicationTrust>
<PublishWizardCompleted>true</PublishWizardCompleted>
Expand Down
3 changes: 2 additions & 1 deletion DigitalPlatform.MessageClient/MessageConnection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -555,9 +555,10 @@ public virtual async Task<MessageResult> ConnectAsync()
}
catch (HttpRequestException ex)
{
// InnerException
MessageResult result = new MessageResult();
result.Value = -1;
result.ErrorInfo = ex.Message;
result.ErrorInfo = ExceptionUtil.GetExceptionMessage(ex); // ex.Message;
result.String = "HttpRequestException";
return result;
}
Expand Down
31 changes: 31 additions & 0 deletions TestClient1/TestClient1.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,39 @@
<HintPath>..\packages\Newtonsoft.Json.13.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.ComponentModel.Composition" />
<Reference Include="System.Core" />
<Reference Include="System.IO, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.IO.4.3.0\lib\net462\System.IO.dll</HintPath>
<Private>True</Private>
<Private>True</Private>
</Reference>
<Reference Include="System.Messaging" />
<Reference Include="System.Runtime, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Runtime.4.3.0\lib\net462\System.Runtime.dll</HintPath>
<Private>True</Private>
<Private>True</Private>
</Reference>
<Reference Include="System.Security.Cryptography.Algorithms, Version=4.2.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Security.Cryptography.Algorithms.4.3.0\lib\net463\System.Security.Cryptography.Algorithms.dll</HintPath>
<Private>True</Private>
<Private>True</Private>
</Reference>
<Reference Include="System.Security.Cryptography.Encoding, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Security.Cryptography.Encoding.4.3.0\lib\net46\System.Security.Cryptography.Encoding.dll</HintPath>
<Private>True</Private>
<Private>True</Private>
</Reference>
<Reference Include="System.Security.Cryptography.Primitives, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Security.Cryptography.Primitives.4.3.0\lib\net46\System.Security.Cryptography.Primitives.dll</HintPath>
<Private>True</Private>
<Private>True</Private>
</Reference>
<Reference Include="System.Security.Cryptography.X509Certificates, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Security.Cryptography.X509Certificates.4.3.0\lib\net461\System.Security.Cryptography.X509Certificates.dll</HintPath>
<Private>True</Private>
<Private>True</Private>
</Reference>
<Reference Include="System.Web" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
Expand Down
Loading

0 comments on commit 4a5d32f

Please sign in to comment.