Gets the file's content as a stream.
Namespace: CMS.SharePointAssembly: CMS.SharePoint (in CMS.SharePoint.dll) Version: 8.0.0.0 (8.1.5347.20411)
Return Value
Type: StreamStream providing SharePoint file's binary data
Exceptions
Exception | Condition |
---|---|
![]() | Thrown when requested file is not present at SharePoint server. |
CMS.SharePoint SharePointServerException | Thrown whenever server error occurs. |
![]() | Thrown when error related to network or protocol occurs. |
CMS.SharePoint SharePointConnectionNotSupportedException | Thrown when given connectionData contains unsupported authentication mode or invalid URL. |
CMS.SharePoint SharePointCCSDKException | Thrown when identity client library "msoidcliL.dll" needed for SharePoint Online authentication is missing. See documentation for details. |
![]() | Thrown in case of unexpected error condition. |
See Also