Επεξεργασία

Κοινή χρήση μέσω


WebOperationContext.CreateAtom10Response Method

Definition

Creates a message formatted according to the Atom 1.0 specification.

Overloads

CreateAtom10Response(ServiceDocument)

Creates a message formatted according to the Atom 1.0 specification with the specified content.

CreateAtom10Response(SyndicationFeed)

Creates a message formatted according to the Atom 1.0 specification with the specified content.

CreateAtom10Response(SyndicationItem)

Creates a message formatted according to the Atom 1.0 specification with the specified content.

CreateAtom10Response(ServiceDocument)

Creates a message formatted according to the Atom 1.0 specification with the specified content.

public:
 System::ServiceModel::Channels::Message ^ CreateAtom10Response(System::ServiceModel::Syndication::ServiceDocument ^ document);
public System.ServiceModel.Channels.Message CreateAtom10Response (System.ServiceModel.Syndication.ServiceDocument document);
member this.CreateAtom10Response : System.ServiceModel.Syndication.ServiceDocument -> System.ServiceModel.Channels.Message
Public Function CreateAtom10Response (document As ServiceDocument) As Message

Parameters

document
ServiceDocument

The content to write to the message.

Returns

A message in Atom 1.0 format.

Applies to

CreateAtom10Response(SyndicationFeed)

Creates a message formatted according to the Atom 1.0 specification with the specified content.

public:
 System::ServiceModel::Channels::Message ^ CreateAtom10Response(System::ServiceModel::Syndication::SyndicationFeed ^ feed);
public System.ServiceModel.Channels.Message CreateAtom10Response (System.ServiceModel.Syndication.SyndicationFeed feed);
member this.CreateAtom10Response : System.ServiceModel.Syndication.SyndicationFeed -> System.ServiceModel.Channels.Message
Public Function CreateAtom10Response (feed As SyndicationFeed) As Message

Parameters

feed
SyndicationFeed

The content to write to the message.

Returns

A message in Atom 1.0 format.

Applies to

CreateAtom10Response(SyndicationItem)

Creates a message formatted according to the Atom 1.0 specification with the specified content.

public:
 System::ServiceModel::Channels::Message ^ CreateAtom10Response(System::ServiceModel::Syndication::SyndicationItem ^ item);
public System.ServiceModel.Channels.Message CreateAtom10Response (System.ServiceModel.Syndication.SyndicationItem item);
member this.CreateAtom10Response : System.ServiceModel.Syndication.SyndicationItem -> System.ServiceModel.Channels.Message
Public Function CreateAtom10Response (item As SyndicationItem) As Message

Parameters

item
SyndicationItem

The content to write to the message.

Returns

A message in Atom 1.0 format.

Applies to