8 references to GetErrorMessage
System.DirectoryServices (8)
System\DirectoryServices\ActiveDirectory\DirectoryServer.cs (2)
354
throw new ArgumentException(ExceptionHelper.
GetErrorMessage
(result, false), "objectPath");
665
throw new SyncFromAllServersOperationException(ExceptionHelper.
GetErrorMessage
(result, false));
System\DirectoryServices\ActiveDirectory\Exception.cs (3)
384
string errorMsg =
GetErrorMessage
(errorCode, false);
424
string message =
GetErrorMessage
(error.dwWin32Err, false);
452
string message =
GetErrorMessage
(error.dwWin32Err, false);
System\DirectoryServices\ActiveDirectory\ReplicationFailure.cs (1)
64
public string LastErrorMessage => ExceptionHelper.
GetErrorMessage
(LastErrorCode, false);
System\DirectoryServices\ActiveDirectory\ReplicationNeighbor.cs (1)
117
public string LastSyncMessage => ExceptionHelper.
GetErrorMessage
(LastSyncResult, false);
System\DirectoryServices\ActiveDirectory\Utils.cs (1)
890
throw ExceptionHelper.GetExceptionFromCOMException(new COMException(ExceptionHelper.
GetErrorMessage
(hr, true), hr));