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
RequestResponse
public class CouldNotContactSitecoreLayoutServiceClientException : SitecoreLayoutServiceClientException

Constructors

CouldNotContactSitecoreLayoutServiceClientException()

Initializes a new instance of the CouldNotContactSitecoreLayoutServiceClientException class.

Declaration
RequestResponse
public CouldNotContactSitecoreLayoutServiceClientException()

CouldNotContactSitecoreLayoutServiceClientException(Exception)

Initializes a new instance of the CouldNotContactSitecoreLayoutServiceClientException class.

Declaration
RequestResponse
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
RequestResponse
public CouldNotContactSitecoreLayoutServiceClientException(string message)
Parameters
TypeNameDescription
System.Stringmessage

The exception message.

CouldNotContactSitecoreLayoutServiceClientException(String, Exception)

Initializes a new instance of the CouldNotContactSitecoreLayoutServiceClientException class.

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

The exception message.

System.ExceptioninnerException

The inner exception to be wrapped.

Do you have some feedback for us?

If you have suggestions for improving this article,