---
title: "クラスLayoutServiceGraphQlException"
slug: "sitecore.layoutservice.client.requesthandlers.graphql.layoutservicegraphqlexception"
abstract: ""
---
# クラスLayoutServiceGraphQlException

Sitecoreレイアウトサービスとの通信時に発生する例外について詳述します。

## 相続

System.Object

[SitecoreLayoutServiceClientException](https://doc.sitecore.com/xp/ja/developers/hd/21/sitecore-asp-dot-net-rendering-sdk/sitecore.layoutservice.client.exceptions.sitecorelayoutserviceclientexception.html)

LayoutServiceGraphQlException

### **名前空間**:Sitecore。LayoutService.Client.RequestHandlers。GraphQL

#### **アセンブリ**:Sitecore。LayoutService.Client.dll

##### 構文論

public class LayoutServiceGraphQlException : SitecoreLayoutServiceClientException

### コンストラクター

#### LayoutServiceGraphQlException(GraphQLError)

[LayoutServiceGraphQlException](https://doc.sitecore.com/xp/ja/developers/hd/21/sitecore-asp-dot-net-rendering-sdk/sitecore.layoutservice.client.requesthandlers.graphql.layoutservicegraphqlexception.html)クラスの新しいインスタンスを初期化します。

##### 宣言

public LayoutServiceGraphQlException(GraphQLError error)

##### パラメータ

種類

名称

概要

GraphQL。GraphQLErrror

エラー

GraphQLクエリのGraphQLエラー。

### 性質

#### GraphQlError

GraphQLクエリに対してGraphQLエラーが発生します。

##### 宣言

public GraphQLError GraphQlError { get; }

##### 不動産価値

種類

概要

GraphQL。GraphQLErrror