Méthode | Description | |
---|---|---|
NspiBind ( uint flags, |
The NspiBind method initiates a session between a client and the server.
|
|
NspiQueryRows ( uint flags, |
The NspiQueryRows method returns a number of rows from a specified table to the client.
|
|
NspiRpcAdapter ( ITestSite site, |
Initializes a new instance of the NspiRpcAdapter class.
|
|
NspiUnbind ( uint reserved, |
The NspiUnbind method destroys the context handle. No other action is taken.
|
Méthode | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
This method is used to implement clean-up codes.
|
protected Dispose ( bool disposing ) : void | ||
disposing | bool | Set TRUE to dispose resource otherwise set FALSE. |
Résultat | void |
public NspiBind ( uint flags, |
||
flags | uint | A DWORD value that contains a set of bit flags. |
stat | A pointer to a STAT block that describes a logical position in a specific address book container. | |
serverGuid | The value NULL or a pointer to a GUID value that is associated with the specific server. | |
needRetry | bool | A Boolean value indicates if need to retry to get an expected result. This parameter is designed to avoid meaningless retry when an error response is expected. |
Résultat | ErrorCodeValue |
public NspiQueryRows ( uint flags, |
||
flags | uint | A DWORD value that contains a set of bit flags. |
stat | A STAT block that describes a logical position in a specific address book container. | |
tableCount | uint | A DWORD value that contains the number values in the input parameter table. /// This value is limited to 100,000. |
table | uint | An array of DWORD values, representing an Explicit Table. |
count | uint | A DWORD value that contains the number of rows the client is requesting. |
propTags | The value NULL or a reference to a PropertyTagArray_r value, /// containing a list of the proptags of the properties that the client requires to be returned for each row returned. | |
rows | A nullable PropertyRowSet_r value, it contains the address book container rows that the server returns in response to the request. | |
needRetry | bool | A bool value indicates if need to retry to get an expected result. This parameter is designed to avoid meaningless retry when an error response is expected. |
Résultat | ErrorCodeValue |
public NspiRpcAdapter ( ITestSite site, |
||
site | ITestSite | The site instance. |
rpcBinding | The RPC binding. | |
contextHandle | The RPC context handle. | |
waitTime | int | The time internal that is used to wait to retry when the returned error code is GeneralFailure. |
maxRetryCount | uint | The retry count that is used to retry when the returned error code is GeneralFailure. |
Résultat | System |
public NspiUnbind ( uint reserved, |
||
reserved | uint | A DWORD [MS-DTYP] value reserved for future use. This property is ignored by the server. |
contextHandle | The RPC context handle. | |
Résultat | uint |