1. CouldNotContactSitecoreLayoutServiceClientException

Class CouldNotContactSitecoreLayoutServiceClientException

Version: 21.x

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

Inheritance
System.Object
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.ExceptioninnerException

The inner exception to be wrapped.

CouldNotContactSitecoreLayoutServiceClientException(String)

Initializes a new instance of the CouldNotContactSitecoreLayoutServiceClientException class.

Declaration
public CouldNotContactSitecoreLayoutServiceClientException(string message)
Parameters
TypeNameDescription
System.Stringmessage

The exception message.

CouldNotContactSitecoreLayoutServiceClientException(String, Exception)

Initializes a new instance of the CouldNotContactSitecoreLayoutServiceClientException class.

Declaration
public CouldNotContactSitecoreLayoutServiceClientException(string message, Exception innerException)
Parameters
TypeNameDescription
System.Stringmessage

The exception message.

System.ExceptioninnerException

The inner exception to be wrapped.

If you have suggestions for improving this article, let us know!