23 references to InvalidArgument
Aspire.Hosting.Native.Server (23)
Rpc\NativeProviderContractProjection.cs (1)
20
throw RpcFault.
InvalidArgument
("A portable provider package identity is required.");
Rpc\NativeRpcConnection.cs (1)
207
throw RpcFault.
InvalidArgument
("Authoring callbacks must return void.");
Rpc\NativeRpcConnection.Dispatch.cs (12)
16
throw RpcFault.
InvalidArgument
("Authentication requires one token.");
35
throw RpcFault.
InvalidArgument
("Server entry-point discovery takes no arguments.");
45
throw RpcFault.
InvalidArgument
("Capability discovery takes no arguments.");
56
throw RpcFault.
InvalidArgument
("AppHost configuration requires an application connection and no arguments.");
72
throw RpcFault.
InvalidArgument
("Bootstrap requires a language and does not support assembly filtering.");
84
throw RpcFault.
InvalidArgument
("Capability invocation requires an ID and an argument object.");
109
throw RpcFault.
InvalidArgument
("Provider discovery takes no arguments.");
115
throw RpcFault.
InvalidArgument
("Expected registration requires an application connection and one package identity.");
121
throw RpcFault.
InvalidArgument
("Provider registration requires one expected authority.");
128
throw RpcFault.
InvalidArgument
("Provider activation requires one expected authority.");
135
throw RpcFault.
InvalidArgument
("Abandoning activation requires one expected authority.");
141
throw RpcFault.
InvalidArgument
("Callback invocation requires its authority and arguments.");
Rpc\RpcArguments.cs (9)
17
throw RpcFault.
InvalidArgument
("The capability argument shape is invalid.");
28
throw RpcFault.
InvalidArgument
("A string argument is required.");
32
? result : throw RpcFault.
InvalidArgument
("A boolean argument is required.");
36
: throw RpcFault.
InvalidArgument
("A string array argument is required.");
49
throw RpcFault.
InvalidArgument
("A string or an applicable symbolic handle is required.");
53
? result : throw RpcFault.
InvalidArgument
("An integer argument is required.");
56
? result : throw RpcFault.
InvalidArgument
("An integer argument is required.");
60
?? throw RpcFault.
InvalidArgument
("An object argument is required.")
61
: throw RpcFault.
InvalidArgument
("An object argument is required.");