-3

I want to create a custom logger, which can be used in Silverlight client and within a WCF service.

We use the ASync framework in VS2012RC.

I am struggling with creating a method that is mainly a void, but must return a Task.

public Task Log(string message, LogCategory logCategory, LogType logType)
{

}

Within this void, the logging code will be excuted.

4

1 に答える 1

0
public async Task LogASync(string message, LogCategory logCategory, LogType logType) 

作品

于 2012-07-13T11:40:13.370 に答える