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