The CalendarService type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| CalendarService |
default constructor
|
Methods
| Name | Description | |
|---|---|---|
| Batch |
takes a given feed, and does a batch post of that feed
against the batchUri parameter. If that one is NULL
it will try to use the batch link URI in the feed
(Inherited from Service.) | |
| BatchAsync |
takes a given feed, and does a batch post of that feed
against the batchUri parameter. If that one is NULL
it will try to use the batch link URI in the feed
(Inherited from Service.) | |
| CancelAsync |
this method cancels the corresponding async operation.
It sends still a completed event, but that event will then
have the cancel property set to true
(Inherited from Service.) | |
| CreateFeed | creates a new feed instance to be returned by
Batch(), Query() and other operations
Subclasses can supply their own feed implementation by
overriding this method.
(Inherited from Service.) | |
| Delete | Overloaded. | |
| EntrySend | Inserts an AtomBase entry against a Uri (Inherited from Service.) | |
| Equals | (Inherited from Object.) | |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| Get |
Returns a single Atom entry based upon its unique URI.
(Inherited from Service.) | |
| GetHashCode | Serves as a hash function for a particular type. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| InitVersionInformation |
by default all services now use version 2 for the protocol.
this needs to be overridden by a service to specify otherwise.
(Inherited from Service.) | |
| Insert | Overloaded. | |
| InsertAsync |
inserts the entry asynchronous, you need to supply a valid and unique
token. Events will be send to the async delegates you setup on the service
object
(Inherited from Service.) | |
| internalInsert |
internal Insert version to avoid recursion in the template versions
(Inherited from Service.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| OnNewExtensionElement | eventchaining. We catch this by the baseFeedParsers, which
would not do anything with the gathered data. We pass the event up
to the user, and if he did not dicscard it, we add the entry to our
collection (Inherited from Service.) | |
| OnNewFeed | eventchaining. We catch this by from the base service, which
would not by default create an atomFeed | |
| OnParsedNewEntry | eventchaining. We catch this by the baseFeedParsers, which
would not do anything with the gathered data. We pass the event up
to the user (Inherited from Service.) | |
| OnRequestFactoryChanged |
notifier if someone changes the requestfactory of the service.
This will cause the service to set the versionnumber on the
request factory to it's own
(Inherited from Service.) | |
| Query | Overloaded. | |
| QueryAuthenticationToken |
if the service is using a Google Request Factory it will use that
assuming credentials are set to retrieve the authentication token
for those credentials
(Inherited from Service.) | |
| QueryFeedAync |
the basic interface as an async version. This call will return directly
and you need to rely on the events fired to figure out what happened.
(Inherited from Service.) | |
| QueryOpenSearchRssDescription | object QueryOpenSearchRssDescription() (Inherited from Service.) | |
| QueryStreamAync |
the basic interface as an async version. This call will return directly
and you need to rely on the events fired to figure out what happened.
this version does not parse the response from the webserver but
provides it to you in the event
(Inherited from Service.) | |
| SetAuthenticationToken |
if the service is using a Google Request Factory it will set the passed
in token to the factory. NET CF does not support authsubtokens here
(Inherited from Service.) | |
| setUserCredentials |
Sets the credentials of the user to authenticate requests
to the server.
(Inherited from Service.) | |
| StreamSend | Overloaded. | |
| StreamSendAsync |
this is a helper function for to send binary data asyncronous to a resource
(Inherited from Service.) | |
| StringSend |
this is a helper function for external utilities. It is not worth
running the other insert/saves through here, as this would involve
double buffering/copying of the bytes
(Inherited from Service.) | |
| ToString | (Inherited from Object.) | |
| Update | Overloaded. | |
| UpdateAsync |
updates the entry asynchronous, you need to supply a valid and unique
token. Events will be send to the async delegates you setup on the service
object
(Inherited from Service.) | |
| WriteInputStreamToRequest |
write the current stream to an output stream
this is primarily used to write data to the
request stream
(Inherited from Service.) |
Fields
| Name | Description | |
|---|---|---|
| GCalendarService | The Calendar service's name |
Properties
| Name | Description | |
|---|---|---|
| Credentials | accessor method public ICredentials Credentials (Inherited from Service.) | |
| ProtocolMajor |
returns the major protocol version number this element
is working against.
(Inherited from Service.) | |
| ProtocolMinor |
returns the minor protocol version number this element
is working against.
(Inherited from Service.) | |
| RequestFactory | accessor method public IGDataRequest Request (Inherited from Service.) | |
| ServiceIdentifier |
this returns the string that the services uses to identify the google service to use
when authentication with Google is required. Examples are "cl" for calendar, e.g.
(Inherited from Service.) |
Events
| Name | Description | |
|---|---|---|
| AsyncOperationCompleted | eventhandler, fired when an async operation is completed (Inherited from Service.) | |
| AsyncOperationProgress | eventhandler, fired when an async operation reports progress (Inherited from Service.) | |
| NewAtomEntry | holds the hooks for the eventing in the feedparser (Inherited from Service.) | |
| NewExtensionElement | eventhandler, when the parser finds a new extension element-> mirrored from underlying parser (Inherited from Service.) | |
| NewFeed | eventhandler, when the service needs to create a new feed (Inherited from Service.) |