Skip to main content Skip to complementary content

Request Constructor

Overloads

Request(AsyncHandle, Int32, String, IEnumerable<String>, Object[])

Creates a request with a specified user handle that can be used to monitor the progress of the request.

GetProgressAsync(AsyncHandle)

Request(Int32, String, IEnumerable<String>, Object[])

Creates a request object.

Request(Int32, String, Nullable<Boolean>, Nullable<Boolean>, IEnumerable<String>, Object[])

Creates a request object.

Request(AsyncHandle, Int32, String, IEnumerable<String>, Object[])

Creates a request with a specified user handle that can be used to monitor the progress of the request.

GetProgressAsync(AsyncHandle)

Declaration

      public Request(AsyncHandle asyncHandle, int wsHandle, string wsMethod, IEnumerable<string> argumentNames = null, params object[] arguments)
    

Parameters

Type Name Description
AsyncHandle asyncHandle

A string handle allowing the user to access request status.

System.Int32 wsHandle

A unique ID for the request.

System.String wsMethod

The name of the server method to call.

System.Collections.Generic.IEnumerable<System.String> argumentNames

Positional argument names for the method

System.Object[] arguments

The set of arguments for the method.

Request(Int32, String, IEnumerable<String>, Object[])

Creates a request object.

Declaration

      public Request(int wsHandle, string wsMethod, IEnumerable<string> argumentNames = null, params object[] arguments)
    

Parameters

Type Name Description
System.Int32 wsHandle

A unique ID for the request.

System.String wsMethod

The name of the server method to call.

System.Collections.Generic.IEnumerable<System.String> argumentNames

Positional argument names for the method

System.Object[] arguments

The set of arguments for the method.

Request(Int32, String, Nullable<Boolean>, Nullable<Boolean>, IEnumerable<String>, Object[])

Creates a request object.

Declaration

      public Request(int wsHandle, string wsMethod, bool? wsDelta, bool? wsCont, IEnumerable<string> argumentNames = null, params object[] arguments)
    

Parameters

Type Name Description
System.Int32 wsHandle

A unique ID for the request.

System.String wsMethod

The name of the server method to call.

System.Nullable<System.Boolean> wsDelta

If true, the server will return only the delta between this and the last delta request to the same method.

System.Nullable<System.Boolean> wsCont

DEPRECATED

System.Collections.Generic.IEnumerable<System.String> argumentNames

Positional argument names for the method

System.Object[] arguments

The set of arguments for the method.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!