同期フレームワークの Web ページから、wcf サービスを介した sql ce と sql サーバー間の同期プロセスを示す例をダウンロードしました。
デスクトップ マシンで wcf サービスにアクセスする Windows モバイル アプリケーションを作成したいと考えていました。そんなシチュエーションはありえるの?
- コンパクト フレームワーク専用の Microsoft.Services アセンブリはありますか?
これが私のwcfコントラクトインターフェースです:
public interface IRelationalSyncContract
{
void Initialize(string scopeName, string hostName);
void BeginSession(SyncProviderPosition position);
SyncBatchParameters GetKnowledge();
GetChangesParameters GetChanges(uint batchSize, SyncKnowledge destinationKnowledge);
SyncSessionStatistics ApplyChanges(ConflictResolutionPolicy resolutionPolicy, ChangeBatch sourceChanges, object changeData);
bool HasUploadedBatchFile(string batchFileid, string remotePeerId);
void UploadBatchFile(string batchFileid, byte[] batchFile, string remotePeerId);
byte[] DownloadBatchFile(string batchFileId);
void EndSession();
void Cleanup();
}
次のエラーが表示されます: タイプ 'System.Xml.Serialization.IXmlSerializable' は、参照されていないアセンブリで定義されています。
問題を回避するにはどうすればよいですか?