The WritePolicy type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() | SetPredExp |
Set predicate expression filter in postfix notation. If the predicate
expression exists and evaluates to false, the transaction is ignored.
(Inherited from Policy.)Postfix notation is described here: http://wiki.c2.com/?PostfixNotation Example: // Record last update time > 2017-01-15 policy.SetPredExp( PredExp.RecLastUpdate(), PredExp.IntegerValue(new DateTime(2017, 1, 15)), PredExp.IntegerGreater(), ); |
![]() | SetTimeout |
Create a single timeout by setting socketTimeout and totalTimeout
to the same value.
(Inherited from Policy.) |
![]() | SetTimeouts |
Set socketTimeout and totalTimeout. If totalTimeout defined and
socketTimeout greater than totalTimeout, set socketTimeout to
totalTimeout.
(Inherited from Policy.) |
See Also