Class UpstreamServerException
The exception that is thrown when an error code is received from an upstream update server. It contains an inner SOAP FaultException.
Inheritance
System.Object
System.Exception
UpstreamServerException
Implements
System.Runtime.Serialization.ISerializable
Namespace: Microsoft.PackageGraph.MicrosoftUpdate.Source
Assembly: package-graph-microsoftupdate-source.dll
Syntax
public class UpstreamServerException : Exception, ISerializable
Constructors
| Improve this Doc View SourceUpstreamServerException(FaultException)
Initialize a new instance of UpstreamServerException from a SOAP FaultException.
Declaration
public UpstreamServerException(FaultException soapException)
Parameters
Type | Name | Description |
---|---|---|
System.ServiceModel.FaultException | soapException | The inner SOAP exception. |
Fields
| Improve this Doc View SourceErrorCode
Gets the UpstreamServerErrorCode received over SOAP from the server
Declaration
public readonly UpstreamServerErrorCode ErrorCode
Field Value
Type | Description |
---|---|
UpstreamServerErrorCode | Error code reported by the upstream server. |
Implements
System.Runtime.Serialization.ISerializable