wclAutoResetEventCreate(String, Boolean) Method |
Creates or opens an auto-reset named event object.
Namespace: wclSyncAssembly: wclCommon (in wclCommon.dll) Version: 7.13.7.0 (7.13.7.0)
Syntaxpublic static wclAutoResetEvent Create(
string Name,
out bool Exist
)
Public Shared Function Create (
Name As String,
<OutAttribute> ByRef Exist As Boolean
) As wclAutoResetEvent
public:
static wclAutoResetEvent^ Create(
String^ Name,
[OutAttribute] bool% Exist
)
Parameters
- Name String
- The event name.
- Exist Boolean
- If the method completed with success the parameter
indicates whether a named event object was just created or existing
was opened. true indicates that an event object was opened.
false indicates that a new event object was created.
Return Value
wclAutoResetEvent If the method completed with success the returning value is
a new
wclEvent object. If the method failed the
returning value is
null.
See Also