次の方法で共有


LogRegistration.IsSuccess(Boolean) Method

Definition

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.

Applies to