JAMS Developer Guide
ReadLogFile Method (IHistoryWCF)


MVPSI.JAMS Namespace > IHistoryWCF Interface : ReadLogFile Method
Returns a Stream to a History Logfile for a given entry in history.
Syntax
'Declaration
 
<System.ServiceModel.OperationContractAttribute()>
<System.ServiceModel.FaultContractAttribute(DetailType=MVPSI.JAMS.JAMSException, 
   Action="", 
   Name="", 
   Namespace="", 
   ProtectionLevel=ProtectionLevel.None, 
   HasProtectionLevel=False)>
Function ReadLogFile( _
   ByVal jobId As System.Integer, _
   ByVal historyId As System.Long _
) As System.Threading.Tasks.Task(Of Stream)
'Usage
 
Dim instance As IHistoryWCF
Dim jobId As System.Integer
Dim historyId As System.Long
Dim value As System.Threading.Tasks.Task(Of Stream)
 
value = instance.ReadLogFile(jobId, historyId)
[System.ServiceModel.OperationContract()]
[System.ServiceModel.FaultContract(DetailType=MVPSI.JAMS.JAMSException, 
   Action="", 
   Name="", 
   Namespace="", 
   ProtectionLevel=ProtectionLevel.None, 
   HasProtectionLevel=false)]
System.Threading.Tasks.Task<Stream> ReadLogFile( 
   System.int jobId,
   System.long historyId
)

Parameters

jobId
historyId
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IHistoryWCF Interface
IHistoryWCF Members