Removing warnings
This commit is contained in:
Родитель
085710d5b6
Коммит
08b25feba9
|
@ -46,19 +46,6 @@ namespace PolicyStorageService
|
|||
};
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// This is the main entry point for your service replica.
|
||||
/// This method executes when this replica of your service becomes primary and has write status.
|
||||
/// </summary>
|
||||
/// <param name="cancellationToken">Canceled when Service Fabric needs to shut down this service replica.</param>
|
||||
protected override async Task RunAsync(CancellationToken cancellationToken)
|
||||
{
|
||||
// TODO: Replace the following sample code with your own logic
|
||||
// or remove this RunAsync override if it's not needed in your service.
|
||||
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// This is called by Restore Service to and it stores the storage details along with the policy details in the reliable dictionary
|
||||
/// </summary>
|
||||
|
|
|
@ -128,7 +128,7 @@ namespace RestoreService
|
|||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
Console.WriteLine("Exception occured.");
|
||||
Console.WriteLine("Exception occured: " + e.Message);
|
||||
return null;
|
||||
}
|
||||
|
||||
|
@ -164,7 +164,7 @@ namespace RestoreService
|
|||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
Console.WriteLine("Exception occured.");
|
||||
Console.WriteLine("Exception occured: " + e.Message);
|
||||
return null;
|
||||
}
|
||||
|
||||
|
@ -243,7 +243,7 @@ namespace RestoreService
|
|||
|
||||
catch (Exception e)
|
||||
{
|
||||
throw;
|
||||
throw new Exception(e.Message);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче