私はこのクラスCustomFileStreamを持っています。以下はその署名です
public class CustomFileStream : IRandomAccessStream {}
でも、こうやって使うと、
IAsyncOperation<IRandomAccessStream> IStorageFile.OpenAsync(FileAccessMode accessMode)
{
return Task.Factory.StartNew(() => new CustomFileStream()).AsAsyncOperation();
}
コンパイルエラーが発生し、
Cannot implicitly convert type 'Windows.Foundation.IAsyncOperation<CustomFileStream>'
to
'Windows.Foundation.IAsyncOperation<Windows.Storage.Streams.IRandomAccessStream>'
私がここで何か間違ったことをしているかどうかを誰かに見てもらえますか。
ありがとう。