JsonRpcResult 클래스

정의

성공적인 메서드 호출의 결과를 설명합니다.

[System.Runtime.Serialization.DataContract]
public class JsonRpcResult : StreamJsonRpc.Protocol.JsonRpcMessage
[System.Runtime.Serialization.DataContract]
public class JsonRpcResult : StreamJsonRpc.Protocol.JsonRpcMessage, StreamJsonRpc.Protocol.IJsonRpcMessageWithId
[<System.Runtime.Serialization.DataContract>]
type JsonRpcResult = class
    inherit JsonRpcMessage
[<System.Runtime.Serialization.DataContract>]
type JsonRpcResult = class
    inherit JsonRpcMessage
    interface IJsonRpcMessageWithId
Public Class JsonRpcResult
Inherits JsonRpcMessage
Public Class JsonRpcResult
Inherits JsonRpcMessage
Implements IJsonRpcMessageWithId
상속
JsonRpcResult
특성
구현

생성자

JsonRpcResult()

성공적인 메서드 호출의 결과를 설명합니다.

속성

DebuggerDisplay

이 인스턴스의 디버거에 표시할 문자열을 가져옵니다.

Id
사용되지 않음.

요청에 대한 응답이 필요한 경우 클라이언트가 설정한 식별자를 가져오거나 설정합니다.

RequestId

요청에 대한 응답이 필요한 경우 클라이언트가 설정한 식별자를 가져오거나 설정합니다.

Result

호출 결과 값(있는 경우)을 가져오거나 설정합니다.

ResultDeclaredType

반환 값의 선언된 형식을 가져오거나 설정합니다.

Version

이 메시지가 준수하는 JSON-RPC 프로토콜의 버전을 가져오거나 설정합니다.

(다음에서 상속됨 JsonRpcMessage)

메서드

GetResult<T>()

가능한 모든 형식 강제 변환을 Result고려하여 값을 가져옵니다.

SetExpectedResultType(Type)

나중에 호출 GetResult<T>() 할 때 사용할 형식 인수에 대한 값의 Result 지연된 역직렬화에 대한 힌트를 제공합니다.

ToString()

성공적인 메서드 호출의 결과를 설명합니다.

TryGetTopLevelProperty<T>(String, T)

들어오는 메시지에서 JSON-RPC 사양에 대한 확장인 최상위 속성을 검색합니다.

(다음에서 상속됨 JsonRpcMessage)
TrySetTopLevelProperty<T>(String, T)

JSON-RPC 사양에 대한 확장인 메시지의 최상위 속성을 설정합니다.

(다음에서 상속됨 JsonRpcMessage)

적용 대상