LogRegistration.IsSuccess(Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Method used to determine if this LogRegistration's RegistrationStatusesStatus represents a successful result.
public:
bool IsSuccess(bool requireUniqueRegistration);
public bool IsSuccess (bool requireUniqueRegistration);
member this.IsSuccess : bool -> bool
Public Function IsSuccess (requireUniqueRegistration As Boolean) As Boolean
Parameters
- requireUniqueRegistration
- Boolean
If duplicate registration calls were made with the same LogId,
NewRegistration will not be set in the returned code. This may indicate
an error depending on your scenario. If you expect your log to only ever make a single registration call,
then set requireUniqueRegistration
to true
. If you expect to make
multiple registration calls with the same LogId in order to write to the same log, then set
requireUniqueRegistration
to false
.
Returns
A Boolean indicating that the status code means a success.