Class ServerSyncWebService
Upstream update server implementation. Provides updates over the ServerSync protocol to downstream servers.
The communication protocol with clients is SOAP
Inheritance
System.Object
ServerSyncWebService
Assembly: package-graph-endpoints-microsoft-update.dll
Syntax
public class ServerSyncWebService
Constructors
|
Improve this Doc
View Source
ServerSyncWebService()
Declaration
public ServerSyncWebService()
Methods
|
Improve this Doc
View Source
DownloadFilesAsync(DownloadFilesRequest)
Declaration
public Task<DownloadFilesResponse> DownloadFilesAsync(DownloadFilesRequest request)
Parameters
Type |
Name |
Description |
Microsoft.UpdateServices.WebServices.ServerSync.DownloadFilesRequest |
request |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<Microsoft.UpdateServices.WebServices.ServerSync.DownloadFilesResponse> |
|
Exceptions
Type |
Condition |
System.NotImplementedException |
|
|
Improve this Doc
View Source
GetAuthConfigAsync(GetAuthConfigRequest)
Handle authentication data requests
Declaration
public Task<ServerAuthConfig> GetAuthConfigAsync(GetAuthConfigRequest request)
Parameters
Type |
Name |
Description |
Microsoft.UpdateServices.WebServices.ServerSync.GetAuthConfigRequest |
request |
The request data. Not used
|
Returns
Type |
Description |
System.Threading.Tasks.Task<Microsoft.UpdateServices.WebServices.ServerSync.ServerAuthConfig> |
Exactly one canned authentication method
|
|
Improve this Doc
View Source
GetConfigDataAsync(GetConfigDataRequest)
Handle service configuration requests
Declaration
public Task<ServerSyncConfigData> GetConfigDataAsync(GetConfigDataRequest request)
Parameters
Type |
Name |
Description |
Microsoft.UpdateServices.WebServices.ServerSync.GetConfigDataRequest |
request |
Service configuration request
|
Returns
Type |
Description |
System.Threading.Tasks.Task<Microsoft.UpdateServices.WebServices.ServerSync.ServerSyncConfigData> |
Returns the cached service configuration of the upstream server the local repo is tracking
|
|
Improve this Doc
View Source
GetCookieAsync(GetCookieRequest)
Handle request for a cookie
Declaration
public Task<Cookie> GetCookieAsync(GetCookieRequest request)
Parameters
Type |
Name |
Description |
Microsoft.UpdateServices.WebServices.ServerSync.GetCookieRequest |
request |
Cookie request. Not used; all requests are granted
|
Returns
Type |
Description |
System.Threading.Tasks.Task<Microsoft.UpdateServices.WebServices.ServerSync.Cookie> |
A cookie that expires in 5 days.
|
|
Improve this Doc
View Source
GetDeploymentsAsync(GetDeploymentsRequest)
Declaration
public Task<GetDeploymentsResponse> GetDeploymentsAsync(GetDeploymentsRequest request)
Parameters
Type |
Name |
Description |
Microsoft.UpdateServices.WebServices.ServerSync.GetDeploymentsRequest |
request |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<Microsoft.UpdateServices.WebServices.ServerSync.GetDeploymentsResponse> |
|
Exceptions
Type |
Condition |
System.NotImplementedException |
|
|
Improve this Doc
View Source
GetDriverIdListAsync(GetDriverIdListRequest)
Declaration
public Task<GetDriverIdListResponse> GetDriverIdListAsync(GetDriverIdListRequest request)
Parameters
Type |
Name |
Description |
Microsoft.UpdateServices.WebServices.ServerSync.GetDriverIdListRequest |
request |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<Microsoft.UpdateServices.WebServices.ServerSync.GetDriverIdListResponse> |
|
Exceptions
Type |
Condition |
System.NotImplementedException |
|
|
Improve this Doc
View Source
GetDriverSetDataAsync(GetDriverSetDataRequest)
Declaration
public Task<GetDriverSetDataResponse> GetDriverSetDataAsync(GetDriverSetDataRequest request)
Parameters
Type |
Name |
Description |
Microsoft.UpdateServices.WebServices.ServerSync.GetDriverSetDataRequest |
request |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<Microsoft.UpdateServices.WebServices.ServerSync.GetDriverSetDataResponse> |
|
Exceptions
Type |
Condition |
System.NotImplementedException |
|
|
Improve this Doc
View Source
Declaration
public Task<GetRelatedRevisionsForUpdatesResponse> GetRelatedRevisionsForUpdatesAsync(GetRelatedRevisionsForUpdatesRequest request)
Parameters
Type |
Name |
Description |
Microsoft.UpdateServices.WebServices.ServerSync.GetRelatedRevisionsForUpdatesRequest |
request |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<Microsoft.UpdateServices.WebServices.ServerSync.GetRelatedRevisionsForUpdatesResponse> |
|
Exceptions
Type |
Condition |
System.NotImplementedException |
|
|
Improve this Doc
View Source
GetRevisionIdListAsync(GetRevisionIdListRequest)
Return a list of update ids
Declaration
public Task<RevisionIdList> GetRevisionIdListAsync(GetRevisionIdListRequest request)
Parameters
Type |
Name |
Description |
Microsoft.UpdateServices.WebServices.ServerSync.GetRevisionIdListRequest |
request |
Request data. Can specify categories or updates, filters, etc.
|
Returns
Type |
Description |
System.Threading.Tasks.Task<Microsoft.UpdateServices.WebServices.ServerSync.RevisionIdList> |
|
|
Improve this Doc
View Source
GetUpdateDataAsync(GetUpdateDataRequest)
Return metadata for updates
Declaration
public Task<ServerUpdateData> GetUpdateDataAsync(GetUpdateDataRequest request)
Parameters
Type |
Name |
Description |
Microsoft.UpdateServices.WebServices.ServerSync.GetUpdateDataRequest |
request |
The request; contains IDs for updates to retrieve metadata for
|
Returns
Type |
Description |
System.Threading.Tasks.Task<Microsoft.UpdateServices.WebServices.ServerSync.ServerUpdateData> |
Update metadata for requested updates
|
|
Improve this Doc
View Source
GetUpdateDecryptionDataAsync(GetUpdateDecryptionDataRequest)
Declaration
public Task<GetUpdateDecryptionDataResponse> GetUpdateDecryptionDataAsync(GetUpdateDecryptionDataRequest request)
Parameters
Type |
Name |
Description |
Microsoft.UpdateServices.WebServices.ServerSync.GetUpdateDecryptionDataRequest |
request |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<Microsoft.UpdateServices.WebServices.ServerSync.GetUpdateDecryptionDataResponse> |
|
Exceptions
Type |
Condition |
System.NotImplementedException |
|
|
Improve this Doc
View Source
PingAsync(PingRequest)
Declaration
public Task<PingResponse> PingAsync(PingRequest request)
Parameters
Type |
Name |
Description |
Microsoft.UpdateServices.WebServices.ServerSync.PingRequest |
request |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<Microsoft.UpdateServices.WebServices.ServerSync.PingResponse> |
|
Exceptions
Type |
Condition |
System.NotImplementedException |
|
|
Improve this Doc
View Source
Sets the package store for this instance of the server
Declaration
public void SetPackageStore(IMetadataStore packageSource)
Parameters
Type |
Name |
Description |
IMetadataStore |
packageSource |
The package store to server updates from
|
|
Improve this Doc
View Source
SetServerConfiguration(ServerSyncConfigData)
ASP.NET extension method for setting service configuration
Declaration
public void SetServerConfiguration(ServerSyncConfigData serviceConfig)
Parameters
Type |
Name |
Description |
Microsoft.UpdateServices.WebServices.ServerSync.ServerSyncConfigData |
serviceConfig |
|