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 : SitecoreLayoutServiceClientExceptionConstructors
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
| Type | Name | Description |
|---|---|---|
| System.Exception | innerException |
The inner exception to be wrapped. |
CouldNotContactSitecoreLayoutServiceClientException(String)
Initializes a new instance of the CouldNotContactSitecoreLayoutServiceClientException class.
Declaration
RequestResponse
public CouldNotContactSitecoreLayoutServiceClientException(string message)Parameters
| Type | Name | Description |
|---|---|---|
| System.String | message |
The exception message. |
CouldNotContactSitecoreLayoutServiceClientException(String, Exception)
Initializes a new instance of the CouldNotContactSitecoreLayoutServiceClientException class.
Declaration
RequestResponse
public CouldNotContactSitecoreLayoutServiceClientException(string message, Exception innerException)Parameters
| Type | Name | Description |
|---|---|---|
| System.String | message |
The exception message. |
| System.Exception | innerException |
The inner exception to be wrapped. |