SPUtility.ExecuteCobaltRequest method
取得代表整個鈷要求的資料流還原序列化它,然後執行,傳回 Atom 的結果。可以序列化的輸入為 FssHttp 或 FssHttpB (我們將會偵測您使用其) 這是執行鈷要求的慣用的方法。
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Shared Function ExecuteCobaltRequest ( _
inputStream As Stream, _
spFile As SPFile, _
quotaLimits As QuotaLimits _
) As Stream
'用途
Dim inputStream As Stream
Dim spFile As SPFile
Dim quotaLimits As QuotaLimits
Dim returnValue As Stream
returnValue = SPUtility.ExecuteCobaltRequest(inputStream, _
spFile, quotaLimits)
public static Stream ExecuteCobaltRequest(
Stream inputStream,
SPFile spFile,
QuotaLimits quotaLimits
)
參數
- inputStream
Type: System.IO.Stream
- spFile
Type: Microsoft.SharePoint.SPFile
- quotaLimits
Type: QuotaLimits
傳回值
Type: System.IO.Stream