CloudAppendBlob
Private Function GetUnderlyingStream() As System.IO.Stream If (AppendBlob IsNot Nothing) Then Dim targetStream As New System.IO.MemoryStream() Try GetAppendBlobSnapshot().DownloadToStream(targetStream) Catch exBlob As Microsoft.WindowsAzure.Storage.StorageException Throw New EventStreamReadException(DomainName, AggregateClassName, m_key.ToString(), 0, "Unable to access underlying event stream", exBlob) End Try targetStream.Seek(0, IO.SeekOrigin.Begin) Return targetStream Else Return Nothing End If End Function
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)