CreateLargeObject() private méthode

private CreateLargeObject ( long objectLength ) : ObjectId
objectLength long
Résultat ObjectId
Exemple #1
0
            private IMessageEnvelope ProcessCreateLargeObject(IDictionary <string, object> metadata,
                                                              LargeObjectCreateRequest request)
            {
                try {
                    connector.AssertNotDisposed();
                    connector.AssertAuthenticated();

                    var objRef = connector.CreateLargeObject(request.ObjectLength);
                    return(connector.CreateEnvelope(metadata, new LargeObjectCreateResponse(request.ObjectLength, objRef)));
                } catch (Exception ex) {
                    // TODO: Log the error ...
                    return(CreateErrorResponse(metadata, ex));
                }
            }