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