Interface StringSetPrx
- Namespace
- Glacier2
- Assembly
- Glacier2.dll
Manages a set of constraints on a SessionPrx.
public interface StringSetPrx : ObjectPrx, IEquatable<ObjectPrx>
- Inherited Members
Remarks
Use the methods of this interface to invoke operations on a remote Ice object that implements StringSet.
The Slice compiler generated this proxy interface from Slice interface ::Glacier2::StringSet.
Methods
add(string[], Dictionary<string, string>?)
Adds a sequence of strings to this set of constraints. Order is not preserved and duplicates are implicitly removed.
void add(string[] additions, Dictionary<string, string>? context = null)
Parameters
additionsstring[]The sequence of strings to add.
contextDictionary<string, string>The request context.
addAsync(string[], Dictionary<string, string>?, IProgress<bool>?, CancellationToken)
Adds a sequence of strings to this set of constraints. Order is not preserved and duplicates are implicitly removed.
Task addAsync(string[] additions, Dictionary<string, string>? context = null, IProgress<bool>? progress = null, CancellationToken cancel = default)
Parameters
additionsstring[]The sequence of strings to add.
contextDictionary<string, string>The request context.
progressIProgress<bool>The sent progress provider.
cancelCancellationTokenA cancellation token that receives the cancellation requests.
Returns
- Task
For two-way invocations: a task that completes when the response is received. For one-way invocations: a task that completes when the request is sent.
get(Dictionary<string, string>?)
Gets a sequence of strings describing the constraints in this set.
string[] get(Dictionary<string, string>? context = null)
Parameters
contextDictionary<string, string>The request context.
Returns
- string[]
The sequence of strings for this set.
getAsync(Dictionary<string, string>?, IProgress<bool>?, CancellationToken)
Gets a sequence of strings describing the constraints in this set.
Task<string[]> getAsync(Dictionary<string, string>? context = null, IProgress<bool>? progress = null, CancellationToken cancel = default)
Parameters
contextDictionary<string, string>The request context.
progressIProgress<bool>The sent progress provider.
cancelCancellationTokenA cancellation token that receives the cancellation requests.
Returns
remove(string[], Dictionary<string, string>?)
Removes a sequence of strings from this set of constraints. No errors are returned if an entry is not found.
void remove(string[] deletions, Dictionary<string, string>? context = null)
Parameters
deletionsstring[]The sequence of strings to remove.
contextDictionary<string, string>The request context.
removeAsync(string[], Dictionary<string, string>?, IProgress<bool>?, CancellationToken)
Removes a sequence of strings from this set of constraints. No errors are returned if an entry is not found.
Task removeAsync(string[] deletions, Dictionary<string, string>? context = null, IProgress<bool>? progress = null, CancellationToken cancel = default)
Parameters
deletionsstring[]The sequence of strings to remove.
contextDictionary<string, string>The request context.
progressIProgress<bool>The sent progress provider.
cancelCancellationTokenA cancellation token that receives the cancellation requests.
Returns
- Task
For two-way invocations: a task that completes when the response is received. For one-way invocations: a task that completes when the request is sent.