你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

GraphError 类

  • java.lang.Object
    • com.microsoft.azure.management.graphrbac.GraphError

public class GraphError

Active Directory 错误信息。

方法摘要

修饰符和类型 方法和描述
String code()

获取代码值。

String message()

获取消息值。

GraphError withCode(String code)

设置代码值。

GraphError withMessage(String message)

设置消息值。

方法详细信息

code

public String code()

获取代码值。

Returns:

代码值

message

public String message()

获取消息值。

Returns:

消息值

withCode

public GraphError withCode(String code)

设置代码值。

Parameters:

code - 要设置的代码值

Returns:

GraphError 对象本身。

withMessage

public GraphError withMessage(String message)

设置消息值。

Parameters:

message - 要设置的消息值

Returns:

GraphError 对象本身。

适用于