Class CouldNotContactSitecoreLayoutServiceClientException

Version: 21.x

Details an exception that may occur when the Sitecore layout service cannot be contacted.

Inheritance

System.Object

SitecoreLayoutServiceClientException

CouldNotContactSitecoreLayoutServiceClientException

Namespace: Sitecore.LayoutService.Client.Exceptions

Assembly: Sitecore.LayoutService.Client.Abstractions.dll

Syntax
public class CouldNotContactSitecoreLayoutServiceClientException : SitecoreLayoutServiceClientException

Constructors

CouldNotContactSitecoreLayoutServiceClientException()

Initializes a new instance of the CouldNotContactSitecoreLayoutServiceClientException class.

Declaration
public CouldNotContactSitecoreLayoutServiceClientException()

CouldNotContactSitecoreLayoutServiceClientException(Exception)

Initializes a new instance of the CouldNotContactSitecoreLayoutServiceClientException class.

Declaration
public CouldNotContactSitecoreLayoutServiceClientException(Exception innerException)
Parameters
TypeNameDescription
System.ExceptioninnerExceptionThe inner exception to be wrapped.

CouldNotContactSitecoreLayoutServiceClientException(String)

Initializes a new instance of the CouldNotContactSitecoreLayoutServiceClientException class.

Declaration
public CouldNotContactSitecoreLayoutServiceClientException(string message)
Parameters
TypeNameDescription
System.StringmessageThe exception message.

CouldNotContactSitecoreLayoutServiceClientException(String, Exception)

Initializes a new instance of the CouldNotContactSitecoreLayoutServiceClientException class.

Declaration
public CouldNotContactSitecoreLayoutServiceClientException(string message, Exception innerException)
Parameters
TypeNameDescription
System.StringmessageThe exception message.
System.ExceptioninnerExceptionThe inner exception to be wrapped.
If you have suggestions for improving this article, let us know!