JsonRpcRequest 클래스
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
서버에서 호출할 메서드에 대해 설명합니다.
[System.Runtime.Serialization.DataContract]
public class JsonRpcRequest : StreamJsonRpc.Protocol.JsonRpcMessage
[System.Runtime.Serialization.DataContract]
public class JsonRpcRequest : StreamJsonRpc.Protocol.JsonRpcMessage, StreamJsonRpc.Protocol.IJsonRpcMessageWithId
[<System.Runtime.Serialization.DataContract>]
type JsonRpcRequest = class
inherit JsonRpcMessage
[<System.Runtime.Serialization.DataContract>]
type JsonRpcRequest = class
inherit JsonRpcMessage
interface IJsonRpcMessageWithId
Public Class JsonRpcRequest
Inherits JsonRpcMessage
Public Class JsonRpcRequest
Inherits JsonRpcMessage
Implements IJsonRpcMessageWithId
- 상속
- 특성
- 구현
생성자
JsonRpcRequest() |
서버에서 호출할 메서드에 대해 설명합니다. |
속성
ArgumentCount |
요청에 제공된 인수 수를 가져옵니다. |
ArgumentListDeclaredTypes |
서버에서 Type 각 요소를 ArgumentsList 입력하는 방법을 설명하는 개체 목록을 가져오거나 설정합니다.
지정된 경우 길이가 정확히 같 ArgumentsList 아야 하며 요소가 포함되어 있지 않아야 |
ArgumentNames |
해당하는 경우 인수 이름의 시퀀스를 가져옵니다. |
Arguments |
지정 Method한 인수를 호출할 때 사용할 인수를 가져오거나 설정합니다. 인수 배열 또는 명명된 인수 개체에 속성이 사용되는 개체입니다. |
ArgumentsArray |
사용되지 않음.
해당하는 경우 인수 배열을 가져오거나 설정합니다. |
ArgumentsList |
해당하는 경우 인수의 읽기 전용 목록을 가져오거나 설정합니다. |
DebuggerDisplay |
이 인스턴스의 디버거에 표시할 문자열을 가져옵니다. |
Id |
사용되지 않음.
요청에 대한 응답이 필요한 경우 클라이언트가 설정한 식별자를 가져오거나 설정합니다. |
IsNotification |
알림인지 여부를 나타내는 값을 가져오며 응답이 필요하지 않습니다. |
IsResponseExpected |
이 요청에 대한 응답이 필요한지 여부를 나타내는 값을 가져옵니다. |
Method |
호출할 메서드의 이름을 가져오거나 설정합니다. |
NamedArgumentDeclaredTypes |
서버에서 Type 각 요소를 NamedArguments 입력하는 방법을 설명하는 속성 이름으로 인덱싱된 개체 사전을 가져오거나 설정합니다.
지정한 경우 크기와 NamedArguments 정확히 같아야 하며 값을 포함하지 않아야 |
NamedArguments |
해당하는 경우 명명된 인수의 사전을 가져오거나 설정합니다. |
RequestId |
요청에 대한 응답이 필요한 경우 클라이언트가 설정한 식별자를 가져오거나 설정합니다. |
TraceParent |
W3C 추적 컨텍스트 |
TraceState |
W3C 추적 컨텍스트 |
Version |
이 메시지가 준수하는 JSON-RPC 프로토콜의 버전을 가져오거나 설정합니다. (다음에서 상속됨 JsonRpcMessage) |
메서드
ToString() |
서버에서 호출할 메서드에 대해 설명합니다. |
TryGetArgumentByNameOrIndex(String, Int32, Type, Object) |
RPC 요청에 대한 인수를 검색합니다. |
TryGetTopLevelProperty<T>(String, T) |
들어오는 메시지에서 JSON-RPC 사양에 대한 확장인 최상위 속성을 검색합니다. (다음에서 상속됨 JsonRpcMessage) |
TryGetTypedArguments(ReadOnlySpan<ParameterInfo>, Span<Object>) |
지정된 매개 변수 목록을 충족하는 형식으로 강제 변환된 메서드 호출에 제공할 인수를 가져옵니다. |
TrySetTopLevelProperty<T>(String, T) |
JSON-RPC 사양에 대한 확장인 메시지의 최상위 속성을 설정합니다. (다음에서 상속됨 JsonRpcMessage) |