메소드 | 설명 | |
---|---|---|
CheckDuplicateDocument ( ClientContext clientContext, string documentLibraryName, bool isMailUpload, string folderPath, ContentCheckDetails contentCheck, string uploadFileName, bool allowContentCheck, string &message ) : GenericResponseVM |
Check if duplicate document exists
|
|
GetAttachmentID ( |
Get the Attachment ID from the web response
|
|
GetStream ( |
returns stream from exchange
|
|
GetWebResponse ( |
Make the request to the Exchange server and get the response.
|
|
PerformContentCheckUtility ( bool isMailUpload, string folderPath, bool isMsg, |
Performs content check
|
|
RemoveSpecialChar ( string filename ) : string |
Removes not allowed characters from SharePoint file name.
|
|
UploadHelperFunctionsUtility ( IOptions |
Handle the upload functionality.
|
public CheckDuplicateDocument ( ClientContext clientContext, string documentLibraryName, bool isMailUpload, string folderPath, ContentCheckDetails contentCheck, string uploadFileName, bool allowContentCheck, string &message ) : GenericResponseVM | ||
clientContext | ClientContext | SP client context |
documentLibraryName | string | Name of the document library |
isMailUpload | bool | Mail upload check |
folderPath | string | The folder path. |
contentCheck | ContentCheckDetails | Content check object |
uploadFileName | string | Name of the file. |
allowContentCheck | bool | |
message | string | |
리턴 | GenericResponseVM |
public GetAttachmentID ( |
||
xmlDocument | XML document object having information for mail contents | |
fileName | string | Name of the file. |
리턴 | string |
public GetStream ( |
||
xmlDocument | XML document object having information for the attachment | |
nsmgr | XML Namespace object | |
isMailUpload | bool | Mail upload check |
extension | string | File extension |
isMsg | bool | Is .msg file |
리턴 | byte[] |
public GetWebResponse ( |
||
ewsUrl | Exchange Web Service URL. | |
attachmentToken | string | The attachment token. |
soapRequest | string | The SOAP request. |
attachmentOrMailID | string | The attachment or mail identifier. |
리턴 |
public PerformContentCheckUtility ( bool isMailUpload, string folderPath, bool isMsg, |
||
isMailUpload | bool | Mail upload check |
folderPath | string | The folder path. |
isMsg | bool | Is .msg file |
xmlDocument | XML document object having information for the attachment | |
nsmgr | XML Namespace object | |
extension | string | File extension |
uploadFileName | string | Name of the file. |
clientContext | ClientContext | SP client context |
리턴 | GenericResponseVM |
public RemoveSpecialChar ( string filename ) : string | ||
filename | string | file name to be updated |
리턴 | string |
public UploadHelperFunctionsUtility ( IOptions |
||
mailSettings | IOptions |
|
errorSettings | IOptions |
|
documentRepository | IDocumentRepository | |
generalSettings | IOptions |
|
리턴 | Microsoft.Legal.MatterCenter.Utility |