Method IsPayloadHandleValid
IsPayloadHandleValid(PayloadHandle)
Tests if PayloadHandle references a valid Payload buffer or not.
Declaration
public bool IsPayloadHandleValid(PayloadHandle handle)
Parameters
| Type | Name | Description |
|---|---|---|
| PayloadHandle | handle | PayloadHandle value to test for validity. |
Returns
| Type | Description |
|---|---|
| bool | True if handle references a valid Payload buffer and false if not. |
Remarks
Unlike IsValid, which only tests if the handle value is valid, this verifies the handle currently references a valid Payload buffer.